I am getting broken pipe error in windows 10 when num_workers>0 in data loader. I have searched for the solution in many places. Everywhere it is said that keep everything under if name==‘main’ : block.
I have tried in every way but still getting the same error. Attached the code. Though I have 2 gpu but num_workers=0 really slowing my training down. Thanks in adva
error_1.PNG1097×810 41.8 KB
 
error_2.PNG1104×852 45.4 KB
 
error_3.PNG1089×845 44.3 KB
 
error_4.PNG1039×738 44.9 KB
 nce