IDEA-Research / DINO

[ICLR 2023] Official implementation of the paper "DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection"
Apache License 2.0
2.1k stars 230 forks source link

take the wrong path towards the checkpoint, when resuming the model #214

Closed eatmore18 closed 11 months ago

eatmore18 commented 11 months ago

When I resume the model by providing the checkpoint path as an argument, I consistently obtain identical validation results for different checkpoints. After realizing the issue, I found that these two lines of code are the cause of the problem. What is the purpose or functionality of these two lines of code? https://github.com/IDEA-Research/DINO/blob/69f0d5e3c8d8cbb6c0f4ed7bc1f518a8bfb8f8b2/main.py#L205-L206

FengLi-ust commented 11 months ago

Hi, this is just to load the latest checkpoint in one directory. If you rerun the model, please select another directory.