Skip to content
Advertisement

Tensorflow Warning every time I import it – ‘cudart64_101.dll not found’. Is there a way to get rid of only this warning?

JavaScript

The execution of the code tends to pause for a while when this occurs. Is there a solution to this?

Advertisement

Answer

If you’re working with Tensorflow 2.0, setting TF_CPP_MIN_LOG_LEVEL should still work

You can disable all logs using os.environ:

JavaScript

Here,

JavaScript

(The above is tested on TensorFlow 0.12 and 1.0)

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement