Skip to content

Commit

Permalink
Reduce min log level for SqueezeNet scripts (#17)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
PatriceVignola authored Jun 17, 2020
1 parent 94256b0 commit 70fb072
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions TensorFlow/squeezenet/src/save_squeezenet.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'

import tensorflow as tf
import shutil
import argparse
Expand Down
2 changes: 0 additions & 2 deletions TensorFlow/squeezenet/src/train_squeezenet.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 70fb072

Please sign in to comment.