autonomio / talos

Hyperparameter Experiments with TensorFlow and Keras
https://autonom.io
MIT License
1.62k stars 268 forks source link

ImportError: cannot import name 'live' #382

Closed shivamgupta7 closed 5 years ago

shivamgupta7 commented 5 years ago

Hi, I have installed the talos by doing : pip install -U talos The installation is done successfully. But every time I do : import talos as ta from talos import live

I got an error : ImportError Traceback (most recent call last)

in () 1 import talos as ta ----> 2 from talos import live ImportError: cannot import name 'live'
mikkokotila commented 5 years ago

Try instead:

from talos.utils import live

or just call it directly after importing talos:

talos.utils.live()

I guess you are referencing to one of the examples (due for update).

shivamgupta7 commented 5 years ago

Thank you. Please update your document.

mikkokotila commented 5 years ago

The docs are actually up-to-date and there are many examples, but yea, the notebooks have to be brought to up-to-date.

jtlz2 commented 4 years ago

@mikkokotila https://autonomio.github.io/docs_talos/#monitoring is not up-to-date..?

CarlosDLMC commented 2 years ago

Hi! I actually am having the same problem, from talos import live is returning an error as well.

The solution you proposed (from talos.utils import live) or (talos.utils.live()) is not working anymore. Please, can you tell me how to solve this issue? Also, this import from talos.metrics.keras_metrics import fmeasure_acc is returning an error.

Thanks for your help!

david-cros commented 1 year ago

@CarlosDLMC Hello. Did you find a solution ? I have the same problem as you. Thanks. David

CarlosDLMC commented 1 year ago

Hi @david-cros , actually I just did a downgrade to an older version and it worked for me.