From 70fb0720632d0b1fadb017ebcd6e5e0b79dd531e Mon Sep 17 00:00:00 2001 From: Patrice Vignola Date: Wed, 17 Jun 2020 14:57:37 -0700 Subject: [PATCH] Reduce min log level for SqueezeNet scripts (#17) TF_CPP_MIN_LOG_LEVEL = 3 can make it hard or impossible to know what's going on when an error happens. For example, it doesn't tell us if there was a problem while loading DirectML.dll. --- TensorFlow/squeezenet/src/save_squeezenet.py | 2 -- TensorFlow/squeezenet/src/train_squeezenet.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/TensorFlow/squeezenet/src/save_squeezenet.py b/TensorFlow/squeezenet/src/save_squeezenet.py index 3ad7e97f..591e7b40 100644 --- a/TensorFlow/squeezenet/src/save_squeezenet.py +++ b/TensorFlow/squeezenet/src/save_squeezenet.py @@ -1,6 +1,4 @@ import os -os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' - import tensorflow as tf import shutil import argparse diff --git a/TensorFlow/squeezenet/src/train_squeezenet.py b/TensorFlow/squeezenet/src/train_squeezenet.py index c75fdd63..9946527c 100644 --- a/TensorFlow/squeezenet/src/train_squeezenet.py +++ b/TensorFlow/squeezenet/src/train_squeezenet.py @@ -1,7 +1,5 @@ import os -os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import sys - import tensorflow as tf from models.research.slim.deployment import model_deploy