Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Fix --resume keyword and recipe loading#33

Merged
KSGulin merged 2 commits intomasterfrom
fix-recipe-load
Apr 14, 2022
Merged

Fix --resume keyword and recipe loading#33
KSGulin merged 2 commits intomasterfrom
fix-recipe-load

Conversation

@KSGulin
Copy link
Copy Markdown

@KSGulin KSGulin commented Apr 13, 2022

Fix for:

  • Runs that are continued with the --resume keyword
  • Previously uncaught cases of recipe loading

@KSGulin KSGulin requested review from a team, InquestGeronimo, bfineran and mgoin and removed request for a team April 13, 2022 17:51
@KSGulin KSGulin self-assigned this Apr 13, 2022
Comment on lines +503 to +505
train_recipe = ckpt.get('recipe')
elif recipe or ckpt.get('recipe'):
train_recipe, checkpoint_recipe = recipe, ckpt.get('recipe')
Copy link
Copy Markdown
Member

@mgoin mgoin Apr 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, didn't know about get() defaulting to None

@KSGulin KSGulin merged commit 2aae700 into master Apr 14, 2022
KSGulin added a commit that referenced this pull request Apr 14, 2022
KSGulin added a commit that referenced this pull request Apr 15, 2022
* pip installable auto package

* Adjust NMS time limit warning to batch size (ultralytics#7156)

* NMS unused variable fix (ultralytics#7161)

* Fix --resume keyword and recipe loading (#33)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants