Closed Zhou-momo closed 1 year ago
This is because our previous code modified the code of 'torchvision', which is incompatible with the PyTorch version 1.8 and later. We have fixed this bug and made many other modifications. You can refer to the latest code.
This is because our previous code modified the code of 'torchvision', which is incompatible with the PyTorch version 1.8 and later. We have fixed this bug and made many other modifications. You can refer to the latest code.
Thank you to the author for your answer.
When I made an error“ImportError: cannot import name 'MyRandomCrop' from 'torchvision.transforms' (/home/server2/anaconda3/lib/python3.7/site-packages/torchvision/transforms/init.py)” running test.py, can I ask the author for any solution?