Closed aspiringguru closed 5 years ago
hi @aspiringguru
The problem here is that the Logger
class we use is found in the utils.py file in this same repository, and you might have installed a different utils
package from PIP.
You could either 1) uninstall the utils
package from your environment with pip uninstall utils
, or 2) rename the utils.py
file in this repo to something different (say foo
) and importing Logger as required (e.g. from foo import Logger
).
Let me know if that works.
Hey Diego,
I have been facing problem with from utils import Logger.I am using tensorflow 2.0 and I have been facing problem with the code use have made of Vanilla Gan in tensorflow.
any ideas?
from utils import Logger ImportError: cannot import name 'Logger'
utils==0.9.0 $ python --version Python 3.6.4 :: Anaconda, Inc.