I was able to resolve the issue by running
conda install tensorflow=2.1.0
Please note, I do not have the time availability to help with individual installation requests. If you've noticed something that needs to be changed in the installation instructions, please report what you think needs to be changed. Generally I rerun my installation instructions once a semester and make any adjustments needed at that point.
Describe the bug
A clear and concise description of what the bug is. If you have a general programming question, Stack Overflow is a better forum. Please only add issues specifically related to a problem with the code in this repository.
Expected behavior
A clear and concise description of what you expected to happen.
I installed tensorflow per your instructions, and got version 2.15 with Ubuntu 22.04 in February 2024. the notebook at https://github.com/jeffheaton/t81_558_deep_learning/blob/master/install/tensorflow-install-march-2023.ipynb gives the error AttributeError: module 'tensorflow.keras' has no attribute 'version' according to https://stackoverflow.com/questions/46086030/how-to-check-which-version-of-keras-is-installed this attribute no longer exists in tensorflow version > 2.13
I was able to resolve the issue by running
conda install tensorflow=2.1.0
Please note, I do not have the time availability to help with individual installation requests. If you've noticed something that needs to be changed in the installation instructions, please report what you think needs to be changed. Generally I rerun my installation instructions once a semester and make any adjustments needed at that point.
Describe the bug A clear and concise description of what the bug is. If you have a general programming question, Stack Overflow is a better forum. Please only add issues specifically related to a problem with the code in this repository.
Expected behavior A clear and concise description of what you expected to happen.
Which Notebook Contains this Issue Please let me know which notebook contains the code for the issue you are reporting. (e.g. https://github.com/jeffheaton/t81_558_deep_learning/blob/master/t81_558_class_01_1_overview.ipynb)