diff --git a/TensorFlow/built-in/nlp/FastText_ID0135_for_TensorFlow/word_embeddings_rt.py b/TensorFlow/built-in/nlp/FastText_ID0135_for_TensorFlow/word_embeddings_rt.py index bbb0a8dfa16dab2895248c57efa33710511c7ce0..27030f7c3c2da3914fb5ff02bb0b2cdd255f99aa 100644 --- a/TensorFlow/built-in/nlp/FastText_ID0135_for_TensorFlow/word_embeddings_rt.py +++ b/TensorFlow/built-in/nlp/FastText_ID0135_for_TensorFlow/word_embeddings_rt.py @@ -33,6 +33,8 @@ import fasttext import numpy as np import pandas as pd import tensorflow as tf +tf.enable_control_flow_v2() +tf.enable_resource_variables() import tensorflow_hub as hub import keras.layers as layers from keras.models import Model