zhiyuanyou / UniAD

[NeurIPS 2022 Spotlight] A Unified Model for Multi-class Anomaly Detection
Apache License 2.0
250 stars 28 forks source link

Multi-gpu bug: Address already in use #2

Closed zhiyuanyou closed 2 years ago

zhiyuanyou commented 2 years ago

About torch.distributed.launch: sh train_torch.sh #NUM_GPUS. It works well with 1 GPU. However, it shows RuntimeError: Address already in use with multiple GPUs.