FewX icon indicating copy to clipboard operation
FewX copied to clipboard

ValueError: Milestone must be smaller than total number of updates

Open yulin010101 opened this issue 3 years ago • 3 comments

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?

yulin010101 avatar Jul 14 '21 01:07 yulin010101

Same with me

AtalsZem avatar Jul 14 '21 07:07 AtalsZem

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.

yulin010101 avatar Jul 14 '21 10:07 yulin010101

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.

YounkHo avatar Aug 14 '21 17:08 YounkHo