facebookresearch/maskrcnn-benchmark

why only one gpu be used when I launch mutil gpu train?

Aberta

#325 aberto em 8 de jan. de 2019

 (10 comentários) (0 reação) (0 responsável)Python (2.574 forks)batch import
awaiting responsehelp wanted

Métricas do repositório

Stars
 (9.161 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

❓ Questions and Help

when I launch multi gpu train use this command:

python -m torch.distributed.launch --nproc_per_node=2 /path_to_maskrcnn_benchmark/tools/train_net.py --config-file "path/to/config/file.yaml"

and it's run in docker container env, there are have two p40 in docker, but it seems that only one GPU is being used. image

and there are actually two processes running image

What could be the reason?

Guia do colaborador