mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-04-04 15:20:19 +02:00
Do not sync with model in loading from checkpoint otherwise device clash
This commit is contained in:
parent
a1fad6d7d7
commit
13a31d9de9
@ -583,10 +583,6 @@ class BatDetect2API:
|
||||
transform=output_transform,
|
||||
)
|
||||
|
||||
model.preprocessor = preprocessor
|
||||
model.postprocessor = postprocessor
|
||||
model.targets = targets
|
||||
|
||||
return cls(
|
||||
model_config=model_config,
|
||||
audio_config=audio_config,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user