fanq15 / FewX

FewX is an open-source toolbox on top of Detectron2 for data-limited instance-level recognition tasks.
https://github.com/fanq15/FewX
MIT License
346 stars 48 forks source link

ValueError: Milestone must be smaller than total number of updates #54

Open yulin010101 opened 3 years ago

yulin010101 commented 3 years ago

I got the error when I run the sh all.sh. It seems like milestone is always same as the total number of updates. How could I fix the error?

AtalsZem commented 3 years ago

Same with me

yulin010101 commented 3 years ago

I change the code in detectron2's built.py to let the milestone less than total number of updates. You can try that. It can run but I am not sure if it will cause some unknow error.

YounkHo commented 3 years ago

I guess it also a problem caused by updated detectron. I changed the MAX_ITER in the FewX/configs/fsod/Base-FSOD-C4.yaml slightly bigger(120001) and it did work.