赞
踩
SiamMask - otb100
0%| | 0/99 [00:00<?, ?it/s]/home/yuuzh/.conda/envs/pytorch-env/lib/python3.7/site-packages/torch/nn/functional.py:2796: UserWarning: nn.functional.upsample is deprecated. Use nn.functional.interpolate instead. warnings.warn("nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.") 11%|█ | 11/99 [24:25<3:15:27, 133.27s/it] Traceback (most recent call last): File "/home/yuuzh/Document/project/PlasticNet/UpdateNet/plasticmask-test.py", line 347, in <module> main() File "/home/yuuzh/Document/project/PlasticNet/UpdateNet/plasticmask-test.py", line 276, in main state = tracker.update(params, img, gt_bbox, mask_enable=True, refine_enable=True) # track File "/home/yuuzh/Document/project/PlasticNet/UpdateNet/siammask_sharp/tracker.py", line 484, in update gt_crop = Variable(get_subwindow_tracking(im, gt_pos, p.exemplar_size, Round(gt_s_z), avg_chans)) File "/home/yuuzh/Document/project/PlasticNet/UpdateNet/siammask_sharp/utils_t.py", line 92, in get_subwindow_tracking im_patch = cv2.resize(im_patch_original, (model_sz, model_sz)) # zzp: use cv to get a better speed cv2.error: OpenCV(4.2.0) /io/opencv/modules/imgproc/src/resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
原因:
OTB100.json 文件 Board 687 最后一行 为0,0,0,0 , 改了!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。