hub 快速体验出现错误
Created by: oneofsummer
hub run pyranidbox_Iite_nobile_nask.-input_path test_nask_detection.jpg -visualization=True--output_dir='detection_result'
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script Traceback (most recent call last): File " /usr/local/python2.7.15/bin/hub" , line 11,in sys.exit(main() File " /usr/local/python2.7.15/lib/python2.7/site-packages/paddlehub/connands/hub.py",line 64,in main CORmand.execute(argv[1:]) File "/usr/local/python2.7.15/lib/python2.7/site-packages/paddlehub/conmands/hub.py",line 51,in execute return command.execute(argv[1:] File"/usr/local/python2.7.1i5/lib/python2.7/site-packages/paddlehub/conpands/run.py",line 242,in execute resuits ' self.module.run_func(argv[1:]) File "/usr/local/python2.7.15/lib/python2.7/site-packages/paddlehub/nodule/nodule.py",line 59,in _rapper return func(*args,**kwargs) File "/root/.paddlehub/nodules/pyramidbox_lite_nobile_nask/nodule.py",line 259,in run_cnd confs_threshold=args.confs_threshold) File " /root/.paddlehub/nodules/pyranidbox_lite_nobile_mask/nodule.py",line 128,in face_detection images, paths, use_gpu,use_multi_scale): File"/root/.paddlehub/nodules/pyramidbox_lite_nobile_mask/data_feed.py" ,line 202,in reader confs_threshold=confs_threshoid) File "/root/.paddlehub/modules/pyranidbox_lite_nobile/module.py" ,line 101,in face_detection for element in reader(images, paths,shrink):. File "/root/.paddlehub/modules/pyranidbox_lite_nobile/data_feed.py",line 67,in reader 'image_width'] = preprocess(element[ 'org_im'], shrink) File "]root/.paddlehub/nodules/pyranidbox_lite_nobile/data_feed.py",line 19,in preprocess cv2.INTER_NEAREST) TypeError: Expected Ptrcv::UMat for argument 'dst' 入d98sed7f7b47/hone hub run pyranidbox_lite_gobile_gask.-iput_path test_mask_detection.jg vistaliztion=7ue .output_dird'detection_resilt