Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2888, in _parsed_pkg_info

return self._pkg_info


 "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2691, in __getattr__

raise AttributeError(attr)
AttributeError: _pkg_info

Traceback (most recent call last):


 "demo/restoration_demo.py", line 38, in <module>

main()


 "demo/restoration_demo.py", line 29, in main

output = restoration_inference(model, args.img_path)


 "/home/user/github/mmediting/mmedit/apis/restoration_inference.py", line 22, in restoration_inference

for pipeline in list(cfg.test_pipeline):


 "/home/user/anaconda3/envs/mmediting/lib/python3.7/site-packages/mmcv/utils/config.py", line 424, in __getattr__

return getattr(self._cfg_dict, name)


 "/home/user/anaconda3/envs/mmediting/lib/python3.7/site-packages/mmcv/utils/config.py", line 44, in __getattr__

raise ex
AttributeError: 'ConfigDict' object has no attribute 'test_pipeline'
