megvii-research/AnchorDETR

Downloaded AnchorDETR R50 C5 weights evaluation only got 38.5

Closed this issue · 3 comments

image

the command am using:

python -m torch.distributed.launch --nproc_per_node=8 --use_env main.py --dilation False --eval --coco_path data/coco --resume workdir/r50-c5/AnchorDETR_r50_c5.pth

I using exactly same code in master branch, any idea?

@jinfagang Hi, it is because the default type of dilation is str. So the model with --dilation False is still the DC5 model which does not match the weights. You can set the default value of dilation to False at the file.

@tangjiuqi097 Oh..... this bug is really.....

Now the bug is fixed.