Sense-X / Co-DETR

[ICCV 2023] DETRs with Collaborative Hybrid Assignments Training
MIT License
1.02k stars 113 forks source link

How to reproduce the results? #182

Open jih0-kim opened 4 days ago

jih0-kim commented 4 days ago

I am experiencing issues with achieving full reproducibility when running the code. Despite setting the seed to 0 and enabling deterministic=True in train.py, I am noticing that the results are not entirely identical across runs. For example, the loss values differ between Case 1 and Case 2 I’ve attached below. Could you please advise if there are additional steps required to ensure exact reproducibility?

TempleX98 commented 2 days ago

Atomic operations in CUDA are unordered and random when parallelized. Therefore, even with a fixed seed and deterministic settings, training results can still vary.