tianzhi0549 / FCOS

FCOS: Fully Convolutional One-Stage Object Detection (ICCV'19)
https://arxiv.org/abs/1904.01355
Other
3.28k stars 630 forks source link

How to use the dist.barrier() #216

Open buddhisant opened 4 years ago

buddhisant commented 4 years ago

I ran a program on a server with 8 GPUs and used 2 of them. I specified the number of processes as 2 when starting the program. Then I use your synchronize function which is in comm.py. However, I found that 2 processes stopped running after reaching dist.barrier(), which puzzled me. The 2 processes have reached the synchronization point, why are they blocked?