Hi,
I just want to know, how can I load my own test data (image.jpg) in pytorch in order to test my CNN.
I’ve tried test_data = datasets.ImageFolder(data_dir + '/test_cnn', transform=test_transforms)
but during the test, I have too many indices because my test data is automatically labeled by ImageFolder. A solution is to drop the classes but I don’t know How
Thanks for helping