XiaohangZhan / deocclusion

Code for our CVPR 2020 work.
Apache License 2.0
794 stars 104 forks source link

please help:subprocess.CalledProcessError: Command '['/home/wwx/anaconda3/envs/deo/bin/python', '-u', 'main.py', '--local_rank=0', '--config', 'experiments/KINS/pcnet_m/config.yaml', '--launcher', 'pytorch']' returned non-zero exit status 1. #23

Closed zhenghan408 closed 4 years ago

zhenghan408 commented 4 years ago

Traceback (most recent call last): File "main.py", line 9, in from trainer import Trainer File "/media/wwx/B8D46DEEC022AA4B/deocclusion-master/trainer.py", line 14, in import datasets File "/media/wwx/B8D46DEEC022AA4B/deocclusion-master/datasets/init.py", line 1, in from .reader import * File "/media/wwx/B8D46DEEC022AA4B/deocclusion-master/datasets/reader.py", line 8, in import pycocotools.mask as maskUtils ModuleNotFoundError: No module named 'pycocotools' Traceback (most recent call last): File "/home/wwx/anaconda3/envs/deo/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/wwx/anaconda3/envs/deo/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/wwx/anaconda3/envs/deo/lib/python3.7/site-packages/torch/distributed/launch.py", line 261, in main() File "/home/wwx/anaconda3/envs/deo/lib/python3.7/site-packages/torch/distributed/launch.py", line 257, in main cmd=cmd) subprocess.CalledProcessError: Command '['/home/wwx/anaconda3/envs/deo/bin/python', '-u', 'main.py', '--local_rank=0', '--config', 'experiments/KINS/pcnet_m/config.yaml', '--launcher', 'pytorch']' returned non-zero exit status 1.

zhenghan408 commented 4 years ago

用的KINS数据集和train PCNet-M

XiaohangZhan commented 4 years ago

Did you install pycocotools following the readme?

zhenghan408 commented 4 years ago

yes,i'm sure

zhenghan408 commented 4 years ago

bro~Any other Suggestions?

XiaohangZhan commented 4 years ago

It looks like pycocotools is not correctly installed.