Skip to content
Merged
Binary file added testdata/cv/aruco/recover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions testdata/dnn/download_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,9 +944,9 @@ def get_confirm_token(response): # in case of large files
filename='onnx/models/DB_TD500_resnet50.onnx'),
Model(
name='YuNet',
url='https://github.com/ShiqiYu/libfacedetection.train/raw/7a9738d6ca7bc4a3216578b06a739126435d40ef/tasks/task1/onnx/yunet.onnx',
sha='49c52f484b1895e8298dc59e37f262ba7841a601',
filename='onnx/models/yunet-202109.onnx'),
url='https://github.com/ShiqiYu/libfacedetection.train/raw/1688402dbd9b9fc4a3a6793810f558b7407ff384/tasks/task1/onnx/yunet_120x160.onnx',
sha='dfe691ae0c8e38d39d1a437e3f7e5fda7b256bdd',
filename='onnx/models/yunet-202202.onnx'),
Model(
name='face_recognizer_fast',
url='https://drive.google.com/uc?export=dowload&id=1ClK9WiB492c5OZFKveF3XiHCejoOxINW',
Expand Down
Binary file added testdata/dnn/onnx/data/input_dynamic_resize_13_0.npy
Binary file not shown.
Binary file added testdata/dnn/onnx/data/input_dynamic_resize_13_1.npy
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added testdata/dnn/onnx/data/input_resize_size_opset11.npy
Binary file not shown.
Binary file added testdata/dnn/onnx/data/input_resize_size_opset13.npy
Binary file not shown.
Binary file added testdata/dnn/onnx/data/output_dynamic_resize_13.npy
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions testdata/dnn/onnx/generate_onnx_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ def forward(self, x, y):
save_data_and_model_multy_inputs("dynamic_resize_9", model, input_0, input_1, version=9)
save_data_and_model_multy_inputs("dynamic_resize_10", model, input_0, input_1, version=10)
save_data_and_model_multy_inputs("dynamic_resize_11", model, input_0, input_1, version=11)
save_data_and_model_multy_inputs("dynamic_resize_13", model, input_0, input_1, version=13)

class DynamicResizeScale(nn.Module):
def forward(self, x, y):
Expand All @@ -795,6 +796,19 @@ def forward(self, x, y):
save_data_and_model_multy_inputs("dynamic_resize_scale_9", model, input_0, input_1, version=9, export_params=True)
save_data_and_model_multy_inputs("dynamic_resize_scale_10", model, input_0, input_1, version=10, export_params=True)
save_data_and_model_multy_inputs("dynamic_resize_scale_11", model, input_0, input_1, version=11, export_params=True)
save_data_and_model_multy_inputs("dynamic_resize_scale_13", model, input_0, input_1, version=13, export_params=True)

class Resize(nn.Module):
def __init__(self, *args, **kwargs):
super(Resize, self).__init__()

def forward(self, x):
return F.interpolate(input, [12, 12], mode="bilinear", align_corners=True)

input = Variable(torch.randn(1, 2, 6, 6))
model = Resize(input)
save_data_and_model("resize_size_opset11", input, model, 11)
save_data_and_model("resize_size_opset13", input, model, 13)

class ShapeConst(nn.Module):
def __init__(self):
Expand Down
Binary file added testdata/dnn/onnx/models/dynamic_resize_13.onnx
Binary file not shown.
Binary file not shown.
Binary file added testdata/dnn/onnx/models/resize_size_opset11.onnx
Binary file not shown.
Binary file added testdata/dnn/onnx/models/resize_size_opset13.onnx
Binary file not shown.
Binary file added testdata/gpu/connectedcomponents/ccomp_exp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added testdata/highgui/readwrite/BigTIFF.tif
Binary file not shown.
Binary file added testdata/highgui/readwrite/BigTIFFLong.tif
Binary file not shown.
Binary file added testdata/highgui/readwrite/BigTIFFLong8.tif
Binary file not shown.
Binary file added testdata/highgui/readwrite/BigTIFFLong8Tiles.tif
Binary file not shown.
Binary file added testdata/highgui/readwrite/BigTIFFMotorola.tif
Binary file not shown.
Binary file not shown.
Binary file added testdata/highgui/readwrite/BigTIFFSubIFD4.tif
Binary file not shown.
Binary file added testdata/highgui/readwrite/BigTIFFSubIFD8.tif
Binary file not shown.
Binary file added testdata/highgui/readwrite/Classic.tif
Binary file not shown.
Binary file added testdata/highgui/readwrite/gray_8u.tif
Binary file not shown.