I\'m using TensorFlow-Slim, which has some useful logging printed out to console by tf.logging
. I would like to redirect those loggings to a text file, but couldn\'
You are right, there are no knobs for you to do that.
If you truly, positively, absolutely cannot live with that, tf.logging
is based on python logging. So,
import logging
tf.logging._logger.basicConfig(filename='tensorflow.log', level=logging.DEBUG)
Note that you are on your own on an unsupported path, and that behavior may break at anytime.
You may also file a feature request at our github issue page.