I have tested today with num_workers=0 and it works! It finished the first epoch (training + validation) and now it’s running the second epoch.
D you have any suggestions to fix the problem with multiple workers? Because otherwise training is much slower (6 hours per epoch compared to 3 hours with num_workers=8) 
Thank you for your help!