ultralytics 8.0.159 add Classify training resume feature (#4482)
This commit is contained in:
parent
b2f279ffdd
commit
c0a9660310
3 changed files with 5 additions and 9 deletions
|
|
@ -419,7 +419,7 @@ def entrypoint(debug=''):
|
|||
overrides['source'] = DEFAULT_CFG.source or ASSETS
|
||||
LOGGER.warning(f"WARNING ⚠️ 'source' is missing. Using default 'source={overrides['source']}'.")
|
||||
elif mode in ('train', 'val'):
|
||||
if 'data' not in overrides:
|
||||
if 'data' not in overrides and 'resume' not in overrides:
|
||||
overrides['data'] = TASK2DATA.get(task or DEFAULT_CFG.task, DEFAULT_CFG.data)
|
||||
LOGGER.warning(f"WARNING ⚠️ 'data' is missing. Using default 'data={overrides['data']}'.")
|
||||
elif mode == 'export':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue