facenet icon indicating copy to clipboard operation
facenet copied to clipboard

Update train.py

Open eplatero97 opened this issue 6 years ago • 0 comments

DATA PARALLEL

When I trained the FaceNet model using your repository, the default batch size of 128 was too much memory for just one GPU.

Instead, I added the power of nn.DataParallel not only to be able to train the model on a batch size of 128, but it also speeds the process of training.

eplatero97 avatar Jul 14 '19 18:07 eplatero97