I have a Python script (some simple binary classification based on a multilayer perceptron) which uses Keras running on Tensorflow backend and runs correctly on my laptop on Windows, but produces the following errors while I run it on Ubuntu virtual machine from Google Cloud. Any ideas on how to fix this? I would be thankful for any suggestions. Ubuntu info: Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-1027-gcp x86_64) Tensorflow is 1.13.1 Keras is 2.2.4
2019-02-26 23:14:29.217591: I 
tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports 
instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-02-26 23:14:29.224424: I 
tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 
2300000000 Hz
2019-02-26 23:14:29.225784: I 
tensorflow/compiler/xla/service/service.cc:150] XLA service 0x384e6a0 
executing computations on platform Host. Devices:
2019-02-26 23:14:29.225824: I 
tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): 
<undefined>, <undefined>
Update: the actual error is as follows.
Exception ignored in: <bound method BaseSession.__del__ of 
<tensorflow.python.client.session.Session object at 0x7fe9
23271400>>
Traceback (most recent call last):
File "/home/berezutskii/.local/lib/python3.5/site- 
packages/tensorflow/python/client/session.py", line 738, in __del__
TypeError: 'NoneType' object is not callable
Update: solved by reinstalling tensorflow using admin rights.
 
    