mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-01-09 16:59:33 +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)
|
||||
|
||||
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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user