jeffheaton / t81_558_deep_learning

T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
https://sites.wustl.edu/jeffheaton/t81-558/
Other
5.72k stars 3.03k forks source link

keras version info error #168

Closed rlzijdeman closed 1 year ago

rlzijdeman commented 1 year ago

Executing https://github.com/jeffheaton/t81_558_deep_learning/blob/master/install/tensorflow-install-mac-metal-jan-2023.ipynb was expected to provide information on keras version, but provided instead

Tensor Flow Version: 2.13.0
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[2], line 12
     10 print(f"Python Platform: {platform.platform()}")
     11 print(f"Tensor Flow Version: {tf.__version__}")
---> 12 print(f"Keras Version: {tensorflow.keras.__version__}")
     13 print()
     14 print(f"Python {sys.version}")

AttributeError: module 'tensorflow.keras' has no attribute '__version__'