it sets the default TensorFlow logging level to 2 (i.e. only ERRORs), hiding the following warning:
2022-05-29 13:41:43.094655: W tensorflow/stream_executor/platform/default/dso_loader.cc:64]
Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2022-05-29 13:41:43.094696: I tensorflow/stream_executor/cuda/cudart_stub.cc:29]
Ignore above cudart dlerror if you do not have a GPU set up on your machine.
it makes the logging level configurable by setting the TF_CPP_MIN_LOG_LEVEL env var. For example, you can show all the TF warnings by running TF_CPP_MIN_LOG_LEVEL=1 karoo-gp.py ...
This PR does two things:
2
(i.e. onlyERROR
s), hiding the following warning:TF_CPP_MIN_LOG_LEVEL
env var. For example, you can show all the TF warnings by runningTF_CPP_MIN_LOG_LEVEL=1 karoo-gp.py ...