IOError: [Errno 2] No such file or directory: '/home/xxx/.paddlehub/modules/pyramidbox_lite_mobile_mask'
Created by: wgwang314
1)PaddleHub1.5.0,PaddlePaddle1.8 2)Ubuntu16.04,Python2.7
问题:学习PaddleHub口罩检测项目过程中,pyramidbox mask模型安装出错,其它如lac,YOLOv3可以正常安装 tar@NUC7i3BNK:~$hub run pyramidbox_lite_mobile_mask --input_path test_mask_detection.jpg Install Module pyramidbox_lite_mobile_mask Downloading pyramidbox_lite_mobile_mask [==================================================] 100.00% Uncompress /home/xxx/.paddlehub/tmp/tmpqGvucz/pyramidbox_lite_mobile_mask [==================================================] 100.00% Traceback (most recent call last): File "/home/mustar/.local/bin/hub", line 8, in sys.exit(main()) File "/home/mustar/.local/lib/python2.7/site-packages/paddlehub/commands/hub.py", line 64, in main command.execute(argv[1:]) File "/home/xxx/.local/lib/python2.7/site-packages/paddlehub/commands/hub.py", line 51, in execute return command.execute(argv[1:]) File "/home/xxx/.local/lib/python2.7/site-packages/paddlehub/commands/run.py", line 232, in execute self.module = self.find_module(module_name) File "/home/xxx/.local/lib/python2.7/site-packages/paddlehub/commands/run.py", line 66, in find_module module_name, extra=extra) File "/home/xxx/.local/lib/python2.7/site-packages/paddlehub/module/manager.py", line 201, in install_module shutil.move(module_dir, save_path) File "/usr/lib/python2.7/shutil.py", line 302, in move copy2(src, real_dst) File "/usr/lib/python2.7/shutil.py", line 130, in copy2 copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 82, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: '/home/xxx/.paddlehub/modules/pyramidbox_lite_mobile_mask'