So, I have a conda env with the following packages installed:
tensorboard 2.9.1 pypi_0 pypi
tensorboard-data-server 0.6.1 pypi_0 pypi
tensorboard-plugin-wit 1.8.1 pypi_0 pypi
tensorflow-deps 2.9.0 0 apple
tensorflow-estimator 2.9.0 pypi_0 pypi
tensorflow-macos 2.9.2 pypi_0 pypi
tensorflow-metal 0.5.1 pypi_0 pypi
and my IDE (DataSpell) signals the following:
However, If i run the code, no error whatsoever is thrown, so I suppose that I'm missing some configuration, any idea?
Please import the keras from tensorflow as below:
from tensorflow import keras
#Or
from tensorflow import keras as k
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.