You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "fsod_train_net.py", line 112, in <module>
launch(
File "d:\work\airdet-master\detectron2\detectron2\engine\launch.py", line 84, in launch
File "fsod_train_net.py", line 104, in main
trainer = Trainer(cfg)
File "d:\work\airdet-master\detectron2\detectron2\engine\defaults.py", line 387, in __init__
self.scheduler = self.build_lr_scheduler(cfg, optimizer)
File "d:\work\airdet-master\detectron2\detectron2\engine\defaults.py", line 538, in build_lr_scheduler
return build_lr_scheduler(cfg, optimizer)
File "d:\work\airdet-master\detectron2\detectron2\solver\build.py", line 297, in build_lr_scheduler
sched = MultiStepParamScheduler(
File "D:\miniconda3\envs\AirDet\lib\site-packages\fvcore\common\param_scheduler.py", line 222, in __init__
raise ValueError(
ValueError: Milestone must be smaller than total number of updates: num_updates=80000, milestone=80000
It comes from './detectron2/detectron2/solver/build.py'
formilestoneinself._milestones:
# Do not exceed the total number of epochsifmilestone>=self._num_updates:
raiseValueError(
"Milestone must be smaller than total number of updates: ""num_updates=%d, milestone=%d"% (self._num_updates, milestone)
)
# Must be in ascending orderifstart_epoch>=milestone:
raiseValueError(
"Milestone must be smaller than start epoch: start_epoch=%d, milestone=%d"% (start_epoch, milestone)
)
start_epoch=milestone
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I got this error :
It comes from './detectron2/detectron2/solver/build.py'
In the comment it said:
So why could the last number of milestones equal to the num_updates been an error?
Beta Was this translation helpful? Give feedback.
All reactions