relaynet_pytorch
relaynet_pytorch copied to clipboard
ModuleNotFoundError: No module named 'networks.relay_net'
I'm getting the following error when trying to load a pretrained model.
model = torch.load('path/to/model/relaynet_epoch20.model')
Traceback (most recent call last):
File "C:\Users\gelaz\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2862, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "
Have you solved this problem? Today, I encountered this problem too when I used this model.
you should rename the directory "relaynet_pytorch" to "networks" !
you should rename the directory "relaynet_pytorch" to "networks" !
I did this, it didn't work.
you should rename the directory "relaynet_pytorch" to "networks" !
I did this, it didn't work.
sorry, have you solved the problem yet? I encoutered this problem too. I look forward to your reply sincerely.