mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 19:17:41 +03:00
Silence logging
This commit is contained in:
parent
4066201ad3
commit
e3af887927
@ -227,6 +227,9 @@ ENV OPENCV_FFMPEG_LOGLEVEL=8
|
||||
# Set HailoRT to disable logging
|
||||
ENV HAILORT_LOGGER_PATH=NONE
|
||||
|
||||
# TensorFlow error only
|
||||
ENV TF_CPP_MIN_LOG_LEVEL=3
|
||||
|
||||
ENV PATH="/usr/local/go2rtc/bin:/usr/local/tempio/bin:/usr/local/nginx/sbin:${PATH}"
|
||||
|
||||
# Install dependencies
|
||||
|
||||
@ -87,7 +87,7 @@ def train_classification_model(model_dir: str) -> bool:
|
||||
f.write(f"{class_name}\n")
|
||||
|
||||
# train the model
|
||||
model.fit(train_gen, epochs=EPOCHS)
|
||||
model.fit(train_gen, epochs=EPOCHS, verbose=0)
|
||||
|
||||
# convert model to tflite
|
||||
converter = tf.lite.TFLiteConverter.from_keras_model(model)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user