VainF / Torch-Pruning

[CVPR 2023] DepGraph: Towards Any Structural Pruning
https://arxiv.org/abs/2301.12900
MIT License
2.66k stars 329 forks source link

Training is slow after switching to your own data set #326

Open XTian-W opened 9 months ago

XTian-W commented 9 months ago

In the registry script, loading its own dataset using the Imagefolder method (224*224) is slow to train, confirming that it is running on the GPU. Same data set, same hardware device, another script runs at a normal speed。

Reaidu commented 9 months ago

I also encountered this problem, I use 8 workers to pack the data, and during training every 8 batchsize will stop (I suspect in loading etc. threads to pack the data), on the contrary not using pruning doesn't trigger this problem