plemeri / InSPyReNet

Official PyTorch implementation of Revisiting Image Pyramid Structure for High Resolution Salient Object Detection (ACCV 2022)
MIT License
321 stars 61 forks source link

DDP bug fix #6

Closed mrgono closed 1 year ago

mrgono commented 1 year ago

There was a problem with using designated GPU devices by CUDA_VISIBLE_DEVICES environment variable. Instead of using actual device id number, we need to used local_rank instead, so I replaced them and removed device_id. Now, training with DDP works for any cases.