In my network, I have to do a lot of process to transform the pic in DataLoader’s __getitem__, and this makes the training much slower. Now I have tried the num_workers, thanks for God, it helps a lot. However, I still want to accelerate the training speed, so ‘asyncio’ comes to my mind. But, unluckily, I know little about this lib. At the same time, I am not sure whether it is compatible with the num_workers.
Hope you can help me, thanks a lot!