
Traceback (most recent call last):

 "run_tests.py", line 28, in <module>
suite = unittest.defaultTestLoader.loadTestsFromNames(names)

 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 128, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]

 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_api'
Traceback (most recent call last):


 "main.py", line 19, in <module>

t.train()


 "/home/ubuntu/Desktop/EDSR-PyTorch-2/src/trainer.py", line 34, in train

self.loss.step()


 "/home/ubuntu/Desktop/EDSR-PyTorch-2/src/loss/__init__.py", line 87, in step

for l in self.get_loss_module():


 "/home/ubuntu/Desktop/EDSR-PyTorch-2/src/loss/__init__.py", line 123, in get_loss_module

return self.loss_module.module


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 518, in __getattr__

type(self).__name__, name))
AttributeError: 'ModuleList' object has no attribute 'module'
