Repository navigation
Add test data for ONNX - #499
Conversation
5abcb5f to
7e2f206
Compare
|
@l-bat, please ammend the changes from this PR into a single commit to pass patch size warning. The thing is that git's history contains removed huge test data. |
002023c to
6e91338
Compare
|
The first commit of this PR contains changes in testdata/cv/qrcode/dataset_config.json and other unrelated files. Please grab rebased commits from here: https://github.com/alalek/opencv_extra/commits/pr499_rebase. Something like this: |
|
Please take a look on download script. It doesn't work properly: List of files in archive: |
0ad26d2 to
3c8e17d
Compare
|
I updated pull request and run script download_models.py from folder dnn/. All models downloaded successfully. |
|
Download problem is still here, just remove mentioned file from your local system. |
|
@mshabunin Could you prepare patch for models from here based on your PR #503 ? |
| reshaped = tf.reshape(flatten, tf.shape(inp), 'reshape') | ||
| save(inp, reshaped, 'reshape_as_shape', optimize=False) | ||
| ################################################################################ | ||
| with tf.gfile.FastGFile('../mask_rcnn_inception_v2_coco_2018_01_28.pb') as f: |
There was a problem hiding this comment.
@l-bat, please rebase this PR to restore this file and mask_rcnn_inception_v2_coco_2018_01_28.pbtxt.
5a482d7 to
17f3928
Compare
17f3928 to
350c93e
Compare
| input1 = Variable(torch.randn(1, 2, 2, 2)) | ||
| input2 = Variable(torch.randn(1, 2, 2, 2)) | ||
| model = MultyInputs() | ||
| save_data_and_model_multy_inputs("multy_inputs", model, input1, input2) |
There was a problem hiding this comment.
Looks like generated file "output_multy_inputs.npy" is missing from this PR:
[ RUN ] Test_ONNX_layers.MultyInputs/0, where GetParam() = OCV/CPU
[ SKIP ] OpenCV tests: Can't find data file: dnn/onnx/data/output_multy_inputs.npy
[ OK ] Test_ONNX_layers.MultyInputs/0 (1 ms)
No description provided.