( arpi_esp | 2020. 04. 22., sze – 12:52 )

"You can safely ignore the warning. It does a test to see if the file is in TensorFlow format, sees that it isn't, and loads using HDF5."

es tenyleg, nekem is kiirja, csak a sok warning kozt nem tunt fel:

root:/home/deepspam# ./deepspam3.py
2020-04-22 12:46:53.876370: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory
2020-04-22 12:46:53.876433: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory
2020-04-22 12:46:53.876440: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Loading Model...
2020-04-22 12:46:54.300237: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2020-04-22 12:46:54.300269: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
2020-04-22 12:46:54.300285: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (mkhlnx2): /proc/driver/nvidia/version does not exist
2020-04-22 12:46:54.300417: 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-04-22 12:46:54.321711: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3792000000 Hz
2020-04-22 12:46:54.322503: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5a8e040 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-04-22 12:46:54.322535: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-04-22 12:46:54.327174: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 1024001024 exceeds 10% of system memory.
2020-04-22 12:46:54.617031: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 1024001024 exceeds 10% of system memory.
2020-04-22 12:46:54.698717: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 1024001024 exceeds 10% of system memory.
2020-04-22 12:46:54.893580: W tensorflow/core/util/tensor_slice_reader.cc:95] Could not open model/model.weights: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
2020-04-22 12:46:55.517441: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 1024001024 exceeds 10% of system memory.
MODEL loaded! (1000000 words)
initing MSS
initing SSS ->  1      ('192.168.90.10', 44946)
initing SSS ->  2      ('192.168.90.10', 44948)
freeing SSS ->   1   time: 13.153
__del__ called!     processed: 0 (0.000)  from: 45.142.195.3
freeing SSS ->   0   time: 13.038
__del__ called!     processed: 0 (0.000)  from: 45.142.195.3

 

ez egy ubi 16, de frissebb tensorflow:

Python 3.5.2 (default, Oct  8 2019, 13:06:37)

Package              Version
-------------------- ----------------------
absl-py              0.9.0
astor                0.8.1
cachetools           4.1.0
certifi              2020.4.5.1
chardet              3.0.4
click                6.2
colorama             0.3.7
command-not-found    0.3
configobj            5.0.6
gast                 0.2.2
google-auth          1.14.0
google-auth-oauthlib 0.4.1
google-pasta         0.2.0
grpcio               1.28.1
h5py                 2.10.0
idna                 2.9
Keras-Applications   1.0.8
Keras-Preprocessing  1.1.0
language-selector    0.1
Markdown             3.2.1
numpy                1.18.3
oauthlib             3.1.0
opt-einsum           3.2.1
pip                  20.0.2
prompt-toolkit       0.57
protobuf             3.11.3
pyasn1               0.4.8
pyasn1-modules       0.2.8
pycrypto             2.6.1
pycurl               7.43.0
Pygments             2.1
pygobject            3.20.0
PyMySQL              0.7.2
python-apt           1.1.0b1+ubuntu0.16.4.8
python-debian        0.1.27
python-systemd       231
requests             2.23.0
requests-oauthlib    1.3.0
rsa                  4.0
scipy                1.4.1
setuptools           46.1.3
six                  1.14.0
sqlparse             0.1.18
ssh-import-id        5.5
tensorboard          2.1.1
tensorflow           2.1.0
tensorflow-estimator 2.1.0
termcolor            1.1.0
ufw                  0.35
unattended-upgrades  0.1
urllib3              1.25.9
wcwidth              0.1.6
Werkzeug             1.0.1
wheel                0.29.0
wrapt                1.12.1