Co-DETR icon indicating copy to clipboard operation
Co-DETR copied to clipboard

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

Open ibarbecue opened this issue 2 years ago • 2 comments

1

ibarbecue avatar Nov 19 '23 10:11 ibarbecue

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 avatar Dec 04 '23 20:12 heyitsguay

@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')

heyitsguay avatar Dec 06 '23 21:12 heyitsguay