RCAN
RCAN copied to clipboard
AttributeError
Hello, I am very interested in your research, but I am running the main.py script and there is no "module" error. How can I solve this problem?
Traceback (most recent call last):
File "
File "/home/renxue/anaconda3/envs/3d-AAE/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 827, in runfile execfile(filename, namespace)
File "/home/renxue/anaconda3/envs/3d-AAE/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 110, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "/home/renxue/RCAN/RCAN_TrainCode/code/main.py", line 17, in
File "/home/renxue/RCAN/RCAN_TrainCode/code/model/init.py", line 35, in init cpu=args.cpu
File "/home/renxue/RCAN/RCAN_TrainCode/code/model/init.py", line 102, in load self.get_model().load_state_dict(
File "/home/renxue/RCAN/RCAN_TrainCode/code/model/init.py", line 61, in get_model return self.model.module
File "/home/renxue/anaconda3/envs/3d-AAE/lib/python3.6/site-packages/torch/nn/modules/module.py", line 535, in getattr type(self).name, name))
AttributeError: 'RCAN' object has no attribute 'module'
look forward to your reply!