2020-02-06 11:19:52.359810: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2020-02-06 11:19:52.369626: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2199995000 Hz 2020-02-06 11:19:52.371229: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x510f6c0 executing computations on platform Host. Devices: 2020-02-06 11:19:52.371272: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Host, Default Version WARNING:tensorflow:No training configuration found in save file: the model was *not* compiled. Compile it manually. WARNING:tensorflow:No training configuration found in save file: the model was *not* compiled. Compile it manually. WARNING:tensorflow:No training configuration found in save file: the model was *not* compiled. Compile it manually. WARNING:tensorflow:Entity could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Unable to locate the source code of . Note that functions defined in certain environments, like the interactive Python shell do not expose their source code. If that is the case, you should to define them in a .py source file. If you are certain the code is graph-compatible, wrap the call using @tf.autograph.do_not_convert. Original error: could not get source code Traceback (most recent call last): File "tgnews.py", line 55, in File "tgnews.py", line 51, in main File "predict_similarity.py", line 164, in format_top File "predict_similarity.py", line 133, in detect_similarity File "tensorflow_core/python/eager/def_function.py", line 457, in __call__ File "tensorflow_core/python/eager/def_function.py", line 503, in _call File "tensorflow_core/python/eager/def_function.py", line 408, in _initialize File "tensorflow_core/python/eager/function.py", line 1848, in _get_concrete_function_internal_garbage_collected File "tensorflow_core/python/eager/function.py", line 2150, in _maybe_define_function File "tensorflow_core/python/eager/function.py", line 2047, in _create_graph_function File "tensorflow_core/python/eager/function.py", line 1052, in __init__ File "tensorflow_core/python/eager/function.py", line 567, in __init__ File "tensorflow_core/python/eager/function.py", line 432, in __init__ google.protobuf.message.DecodeError: Error parsing message [2998] Failed to execute script tgnews