Closed MaxFrax closed 4 years ago
I'm on the prod VPS. If I run:
$ ./docker/prod.sh
root@ff0fb7a4a2db:/app/soweego# python -m soweego
I get unrelevant tensorflow warnings:
2020-03-18 18:48:04.450180: 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-03-18 18:48:04.452246: 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 share
d object file: No such file or directory
2020-03-18 18:48:04.452284: 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.
We should definitely silence them.
We should also keep an eye on https://www.tensorflow.org/guide/migrate
IMPORTANT: we gave up switching from keras
to tensorflow.keras
, since we're hitting an open tensorflow issue, see efd8f62ad9ff5432ae66a514c27c5cc6fcdc7433
This PR introduces the following modifications:
isort
not to sort imports in soweego/cli.py
, because silence must be before import: 3556fff7a1f36ad1ea547ea7869161fe6e6563e2keras
printing when training. More output, but more control: fbb78e2f4e7b703e53e7c572bac7388a28d3c78fpip-tools
properly handle dependency pinned versions: 26de3142c888b4afd743d7d0514fabd44b9bb4f2
Updates all the dependencies to the latest version possible. I have run all the pipeline with success with the dependencies updated. Closes also #380