Instance_Insertion
Instance_Insertion copied to clipboard
Multi-GPUs Traning
I have tried to add "torch.nn.DataParallel" to every model, and modifies the batch_size. However, "nvidia-smi" still shows only one gpu is using. I cannot figure out what's wrong. Thank you in advance!
Also, after adding "torch.nn.DataParallel" and changing the batchsize, the code cannot run as we expected. The state is shown in the following pictures.
@wang-zm18 hi where you able to make this code work ?