Shubhang Jani
Shubhang Jani

Reputation: 23

Getting error in Spyder Anaconda from Keras Libraries CNN: WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation

I am trying to implement the Keras libraries for Convolutional Neural Networks on my Spyder IDE using Anaconda as such:

from keras.models import Sequential     
from keras.layers import Conv2D  
from keras.layers import MaxPooling2D   
from keras.layers import Flatten        
from keras.layers import Dense

When I just execute this piece of code, I get this error:

runcell(0, 'C:/Users/shubh/Desktop/P14-Convolutional-Neural-Networks/Convolutional_Neural_Networks/myCNN.py')
Using TensorFlow backend.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.
WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.

I downgraded from Python 3.7 to 3.6 so I can use Keras and Tensorflow. I did an Artificial Neural Network program and it worked successfully. But when I import these libraries for CNN, I am getting these errors. And I understand it says missing Tensorboard installation, how if this is the solution, please advise me on how to do this as I haven't seen any sources that have worked for me. Again, I use anaconda, not pip.

Thanks!

Upvotes: 2

Views: 5257

Answers (3)

Sami
Sami

Reputation: 1

Running conda install Tensorboard in the terminal worked for me.

Upvotes: 0

ezChx
ezChx

Reputation: 4062

This eliminated the warning for me:

pip uninstall tensorboard
pip install tensorboard

I now have tensorflow version 2.4.1 and tensorboard version 2.5.0

Upvotes: 1

Anna Maule
Anna Maule

Reputation: 280

This is just a warning. Have you tried running your CNN?

Here is a Github issue that talks about what you are seeing

Upvotes: 2

Related Questions