Hello everyone!!
I am getting a weird error on the training phase on random epochs, depending on the batch size, saying ValueError: (‘Cannot warp empty image with dimensions’, (257, 0)). For example, when I have a batch of 5 and I am training the inception v3,  the error only occurs on epoch 32, which doesn’t make sense since the other epoch until this point iterated over the whole dataset too, so I don’t understand this random crash. The error occurs when loading the new batch in the epoch:
#Now we iterate throught the batches of the dataloader
       for batch in loader:

Thank you in advance!