mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
remove unneeded
This commit is contained in:
parent
c5d4e301d1
commit
006af73844
@ -80,12 +80,6 @@ class GenericONNXEmbedding:
|
|||||||
clean_up_tokenization_spaces=True,
|
clean_up_tokenization_spaces=True,
|
||||||
)
|
)
|
||||||
tokenizer.save_pretrained(path)
|
tokenizer.save_pretrained(path)
|
||||||
else:
|
|
||||||
if not os.path.exists(path + "/" + self.model_name):
|
|
||||||
logger.info(f"Downloading {self.model_name} feature extractor")
|
|
||||||
self.feature_extractor = AutoFeatureExtractor.from_pretrained(
|
|
||||||
f"{MODEL_CACHE_DIR}/{self.model_name}",
|
|
||||||
)
|
|
||||||
|
|
||||||
self.downloader.requestor.send_data(
|
self.downloader.requestor.send_data(
|
||||||
UPDATE_MODEL_STATE,
|
UPDATE_MODEL_STATE,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user