`Traceback (most recent call last):


 "/usr/local/bin/mlogfilter", line 10, in <module>

sys.exit(main())


 "/opt/ns/diopython/lib/python3.5/site-packages/mtools/mlogfilter/mlogfilter.py", line 355, in main

tool.run()


 "/opt/ns/diopython/lib/python3.5/site-packages/mtools/mlogfilter/mlogfilter.py", line 332, in run

for logevent in self.logfile_generator():


 "/opt/ns/diopython/lib/python3.5/site-packages/mtools/mlogfilter/mlogfilter.py", line 231, in logfile_generator

for logevent in self.args['logfile'][0]:


 "/opt/ns/diopython/lib/python3.5/site-packages/mtools/util/logfile.py", line 248, in __iter__

le = self.next()


 "/opt/ns/diopython/lib/python3.5/site-packages/mtools/util/logfile.py", line 215, in next

line = line.decode('utf-8', 'replace')
AttributeError: 'str' object has no attribute 'decode'`

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'
