open-mmlab / mmfashion

Open-source toolbox for visual fashion analysis based on PyTorch
https://open-mmlab.github.io/
Apache License 2.0
1.27k stars 283 forks source link

Error running the test code #73

Open NoTrump opened 4 years ago

NoTrump commented 4 years ago

The environment was configured according to the process in the document, and the test code was run incorrectly. What is the reason?

(base) F:\mmfashion>python demo/test_predictor.py --input demo/imgs/attr_pred_demo1.jpg Traceback (most recent call last): File "demo/test_predictor.py", line 57, in main() File "demo/test_predictor.py", line 37, in main cfg = Config.fromfile(args.config) File "E:\anaconda3\lib\site-packages\mmcv\utils\config.py", line 178, in fromfile cfg_dict, cfg_text = Config._file2dict(filename) File "E:\anaconda3\lib\site-packages\mmcv\utils\config.py", line 104, in _file2dict osp.join(temp_config_dir, temp_config_name)) File "E:\anaconda3\lib\shutil.py", line 121, in copyfile with open(dst, 'wb') as fdst: PermissionError: [Errno 13] Permission denied: 'C:\Users\MyPC\AppData\Local\Temp\tmp4d6lsncl\tmpm5vzrhwx.py'

maithil22 commented 4 years ago

I am facing the same issue. Is the problem solved?

vitowzy commented 4 years ago

That's the question I'm struggling with.