sacred
sacred copied to clipboard
No output with tensorflow.
from sacred import Experiment
from sacred.observers import FileStorageObserver
ex = Experiment('test')
ex.observers.append(FileStorageObserver('./test'))
@ex.automain
def experiment(_log):
_log.info('Hello world.')
With this I get the following output:
INFO - test - Running command 'experiment'
INFO - test - Started run with ID "1"
INFO - experiment - Hello world.
INFO - test - Completed after 0:00:00
But if I add import tensorflow as tf
there is no output at all.
Running sacred master and tensorflow2.
Updating absl seems to fix this. pip install --upgrade absl-py