HorizonNet icon indicating copy to clipboard operation
HorizonNet copied to clipboard

How to train the network in three GPUs

Open XGBoost opened this issue 6 years ago • 1 comments

I have noticed you have mentioned that it takes four hours to finish the training on three NVIDIA GTX 1080 Ti GPUs. However, you do not describe how to train the network on three GPUs in README.md. When I run python train.py --id resnet50_rnn --use_rnn , it only takes a single GPU, and the batch size of it is eight which is different from that mentioned in your paper. Could you please describe the process of training in detail.

XGBoost avatar Apr 12 '19 08:04 XGBoost

Hi @XGBoost To train on multiple GPU, you have to modify few lines of code. You can check https://pytorch.org/tutorials/beginner/former_torchies/parallelism_tutorial.html This repo only work on single GPU.

sunset1995 avatar Apr 13 '19 04:04 sunset1995