mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
install and add comment about transformers
This commit is contained in:
parent
afb36a5ce9
commit
980a889001
@ -33,6 +33,7 @@ unidecode == 1.3.*
|
|||||||
openvino == 2024.3.*
|
openvino == 2024.3.*
|
||||||
# Embeddings
|
# Embeddings
|
||||||
sqlite_vec == 0.1.3
|
sqlite_vec == 0.1.3
|
||||||
|
transformers == 4.45.*
|
||||||
onnx_clip == 4.0.*
|
onnx_clip == 4.0.*
|
||||||
# Generative AI
|
# Generative AI
|
||||||
google-generativeai == 0.6.*
|
google-generativeai == 0.6.*
|
||||||
|
|||||||
@ -9,6 +9,10 @@ from typing import List
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import onnxruntime as ort
|
import onnxruntime as ort
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
# importing this without pytorch or others causes a warning
|
||||||
|
# https://github.com/huggingface/transformers/issues/27214
|
||||||
|
# suppressed by setting env TRANSFORMERS_NO_ADVISORY_WARNINGS=1
|
||||||
from transformers import AutoTokenizer
|
from transformers import AutoTokenizer
|
||||||
|
|
||||||
from frigate.const import MODEL_CACHE_DIR
|
from frigate.const import MODEL_CACHE_DIR
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user