mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-01-10 00:59:34 +01:00
Fix order of config merge
This commit is contained in:
parent
69921f258a
commit
76503fbd12
@ -336,7 +336,7 @@ class BatDetect2API:
|
|||||||
model, stored_config = load_model_from_checkpoint(path)
|
model, stored_config = load_model_from_checkpoint(path)
|
||||||
|
|
||||||
config = (
|
config = (
|
||||||
merge_configs(config, stored_config) if config else stored_config
|
merge_configs(stored_config, config) if config else stored_config
|
||||||
)
|
)
|
||||||
|
|
||||||
targets = build_targets(config=config.targets)
|
targets = build_targets(config=config.targets)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user