Hi @albanD
Yes, it works after inserting the if __name__ == 'main' guard. But, I am just curious why does it not work otherwise? Also, what does num_workers=0 mean? How can the number of processes be zero when fetching the batches from the data loader?