When I tried to run this code on ImageNet1k dataset I met this problem. However, I didn't modify the code except some parameters such as batch size, model, workers.
The image including the error information is attached. Is there anything wrong? Or is there anything I could do to fix it?
Thank you for offering the code, looking forward to your reply!