mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 13:34:23 +08:00
Fix program exit (#254)
This commit is contained in:
parent
53fa0f4550
commit
55b313b167
@ -71,7 +71,7 @@ def check_config_mismatch(overrides, cfg):
|
||||
for option in mismatched:
|
||||
LOGGER.info(f"{colorstr(option)} is not a valid key. Similar keys: {get_close_matches(option, cfg, 3, 0.6)}")
|
||||
if mismatched:
|
||||
exit()
|
||||
sys.exit()
|
||||
|
||||
|
||||
hydra._internal.config_loader_impl.ConfigLoaderImpl._apply_overrides_to_config = override_config
|
||||
|
Loading…
x
Reference in New Issue
Block a user