HVision-NKU/SRFormer

TypeError: 'str' object does not support item assignment

Opened this issue · 0 comments

Traceback (most recent call last):
  File "/content/SRFormer/basicsr/infer_sr.py", line 242, in <module>
    test_pipeline(root_path)
  File "/content/SRFormer/basicsr/infer_sr.py", line 212, in test_pipeline
    opt, args = parse_options(root_path, is_train=False)
  File "/content/SRFormer/basicsr/infer_sr.py", line 115, in parse_options
    opt['dist'] = False
TypeError: 'str' object does not support item assignment