Closed Param-Raval closed 4 years ago
Thank you for your work. However, using RandomCrop is not preferable because your images would be cropped. The cause of size mismatch is that the input image was resized. I modified the code in #11 . If any other problems, please open an issue.
Thank you.
While testing on own images the test_own_image function returned a tensor size mismatch error. Solved it by adding a couple of parameters in utils/data_loader.py (line 54).