sacred icon indicating copy to clipboard operation
sacred copied to clipboard

No output with tensorflow.

Open jnphilipp opened this issue 5 years ago • 1 comments

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.

jnphilipp avatar Oct 24 '19 08:10 jnphilipp

Updating absl seems to fix this. pip install --upgrade absl-py

jnphilipp avatar Apr 02 '20 11:04 jnphilipp