ModuleNotFoundError: No module named 'torch.utils.serialization'
I am using pytorch version 0.4.1 and torchvision 0.2.0 on my device with cuda 9.2.
I ran code to generate results and it was working fine previously. Now, suddenly it is showing error: ModuleNotFoundError: No module named 'torch.utils.serialization'.
Traceback (most recent call last):
File "test.py", line 12, in
you can refer https://blog.csdn.net/weixin_54186372/article/details/115391432 to fit your code