Commit ce48b841 authored by Gabriel Kirsten's avatar Gabriel Kirsten
Browse files

Added supress debug for PIL
parent 40c0028c
......@@ -15,6 +15,9 @@ import shutil
import random
import numpy as np
import json
import logging
import sys
from PIL import Image
from keras import applications
from keras.preprocessing.image import ImageDataGenerator
......@@ -33,7 +36,12 @@ from util.config import Config
from util.file_utils import File
from util.utils import TimeUtils
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # Suppress warnings
logger = logging.getLogger('PIL')
logger.setLevel(logging.WARNING)
START_TIME = time.time()
# =========================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment