Sense-X / Co-DETR

[ICCV 2023] DETRs with Collaborative Hybrid Assignments Training
MIT License
968 stars 105 forks source link

TypeError: init_process_group() got an unexpected keyword argument 'port' #92

Open ibarbecue opened 9 months ago

ibarbecue commented 9 months ago

1

heyitsguay commented 9 months ago

I'm also seeing this error trying to test the ViT-L LVIS model.

Relevant parts of my conda environment:

mmcv-full                 1.5.0                    pypi_0    pypi
mmdet                     2.25.3                    dev_0    <develop>
pytorch                   1.11.0          py3.10_cuda11.3_cudnn8.2.0_0    pytorch
torchvision               0.12.0              py310_cu113    pytorch
heyitsguay commented 9 months ago

@ibarbecue I was able to get dist_test.sh to run successfully by modifying line 305 in co_dino_5scale_vit_large_lvis.py from dist_params = dict(backend='nccl', port=29515) to dist_params = dict(backend='nccl')