Why do I run so slow in training? #409

Open
opened 2023-05-15 15:25:45 +02:00 by Rzlf-47 · 0 comments
Rzlf-47 commented 2023-05-15 15:25:45 +02:00 (Migrated from github.com)
Thank you for reading this question. I tried to run the training of SimSwap by myself, 

but its training speed was very slow. I want to know what I should do to improve the
training speed. And when I was running training, the GPU utilization rate was very low,
and the host fan was turning and stopping.
My GPU is NVIDIA 2070s, AMD Ryzen73700x8core. I downloaded Vggface2 myself
and changed the address of '--dataset' to the path of this dataset in the code. Since the
model.act1 of _make_efficientnet generates errors in the projector.py file, I changed it
to nn.SiLU(implace=False). dataloader_worker=8, pin_memory=False in data_loader_butter.py.
If you can help me with problems or ideas, I would be most grateful.

(ZLE8)_D}{{A29DEGQ@4E97

Thank you for reading this question. I tried to run the training of SimSwap by myself, but its training speed was very slow. I want to know what I should do to improve the training speed. And when I was running training, the GPU utilization rate was very low, and the host fan was turning and stopping. My GPU is NVIDIA 2070s, AMD Ryzen73700x8core. I downloaded Vggface2 myself and changed the address of '--dataset' to the path of this dataset in the code. Since the model.act1 of _make_efficientnet generates errors in the projector.py file, I changed it to nn.SiLU(implace=False). dataloader_worker=8, pin_memory=False in data_loader_butter.py. If you can help me with problems or ideas, I would be most grateful. ![(ZLE8)_D}{{A29DEGQ@4E97](https://github.com/neuralchen/SimSwap/assets/107086787/c93ebc51-3795-4a29-a523-06aad4461d8d)
Sign in to join this conversation.