We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59ac19 commit 288d06bCopy full SHA for 288d06b
rfdetr/main.py
@@ -473,7 +473,7 @@ def lr_lambda(current_step: int):
473
474
best_is_ema = best_map_ema_5095 > best_map_5095
475
476
- if utils.is_main_process():
+ if utils.is_main_process() and (output_dir / 'checkpoint_best_regular.pth').exists():
477
if best_is_ema:
478
shutil.copy2(output_dir / 'checkpoint_best_ema.pth', output_dir / 'checkpoint_best_total.pth')
479
else:
0 commit comments