Reduce logging

This commit is contained in:
Nicolas Mowen 2025-06-04 13:37:17 -06:00
parent 11203398eb
commit c7e7befb7b

View File

@ -1,5 +1,6 @@
"""Util for classification models.""" """Util for classification models."""
import logging
import os import os
import cv2 import cv2
@ -49,6 +50,8 @@ def train_classification_model(model_name: str) -> bool:
] ]
) )
tf.get_logger().setLevel(logging.ERROR)
# Start with imagenet base model with 35% of channels in each layer # Start with imagenet base model with 35% of channels in each layer
base_model = MobileNetV2( base_model = MobileNetV2(
input_shape=(224, 224, 3), input_shape=(224, 224, 3),