Created
August 12, 2019 15:43
-
-
Save cicorias/ae70b7d0dcca7f8c5238f7386a9d1dc5 to your computer and use it in GitHub Desktop.
supressing FutureWarning in Python Jupyter and Tensorflow / Keras
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import warnings | |
with warnings.catch_warnings(): | |
warnings.filterwarnings("ignore",category=FutureWarning) | |
import tensorflow as tf | |
from tensorflow import keras | |
from tensorflow.keras.preprocessing.text import Tokenizer | |
print('ready') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment