PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, April 27, 2022

[FIXED] How to get rid of "Using TensorFlow backend." in Jupyter Notebook

 April 27, 2022     jupyter, keras, python, tensorflow, warnings     No comments   

Issue

When I run this code, this "Using TensorFlow backend" always pops up.

enter image description here

Even after I tried

import warnings
warnings.filterwarnings('ignore')
warnings.simplefilter('ignore)

I wonder whether I can get rid of it to make my notebook look cleaner.


Solution

Starting with tf-2.0 Keras is now the official high-level API of TensorFlow packaged within it. Not sure if it is a possibility in your case, but using tf-2.0 should remove this error. Here's a Quick Start guide if needed.
For most of the simple cases, just changing the import statement to import tensorflow.keras as keras gets it going.



Answered By - jdsurya
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing