Linked Questions

33 votes
3 answers
54k views

How to suppress verbose Tensorflow logging? [duplicate]

I'm unittesting my Tensorflow code with nosetests but it produces such amount of verbose output that makes it useless. The following test import unittest import tensorflow as tf class MyTest(...
tonicebrian's user avatar
  • 4,765
3 votes
2 answers
706 views

Disabling keras or tensorflow outputs [duplicate]

I know that there are already some similar questions here on stackoverflow but none of them solved my problem. In a python script, I have to train a keras model multiple times and I want to do this ...
wsm's user avatar
  • 69
0 votes
0 answers
2k views

How to disable too verbose Tensorflow 2.4 logging? [duplicate]

I just can't get Tensorflow 2.4 to use less verbose logging messages. Basically, I wished to display less info (I) logging messages, or warnings (W) only. What I have tried so far: # (module imports......
DanielaK's user avatar
160 votes
19 answers
477k views

Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation

I just installed the latest version of Tensorflow via pip install tensorflow and whenever I run a program, I get the log message: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] ...
GPhilo's user avatar
  • 18.9k
146 votes
9 answers
260k views

What does this tensorflow message mean? Any side effect? Was the installation successful?

I just installed tensorflow v2.3 on anaconda python. I tried to test out the installation using the python command below; $ python -c "import tensorflow as tf; x = [[2.]]; print('tensorflow ...
user1315789's user avatar
  • 3,469
66 votes
10 answers
75k views

Is there a way to suppress the messages TensorFlow prints?

I think that those messages are really important for the first few times but then it is just useless. It is actually making things worse to read and debug. I tensorflow/stream_executor/dso_loader....
user avatar
60 votes
10 answers
139k views

Tensorflow Allocation Memory: Allocation of 38535168 exceeds 10% of system memory

Using ResNet50 pre-trained Weights I am trying to build a classifier. The code base is fully implemented in Keras high-level Tensorflow API. The complete code is posted in the below GitHub Link. ...
Madhi's user avatar
  • 1,216
24 votes
2 answers
6k views

Tensorflow causes logging messages to double

So I was playing around with Google's Tensorflow library they published yesterday and encountered an annoying bug that keeps biting me. What I did was setup the python logging functions as I usually ...
5xum's user avatar
  • 5,401
18 votes
4 answers
10k views

TensorFlow version 1.0.0-rc2 on Windows: "OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits" with test code

I installed TensorFlow version 1.0.0-rc2 on Windows 7 SP1 x64 Ultimate (Python 3.5.2 |Anaconda custom (64-bit)) using: pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/...
Franck Dernoncourt's user avatar
13 votes
3 answers
11k views

TensorFlow: How to measure how much GPU memory each tensor takes?

I'm currently implementing YOLO in TensorFlow and I'm a little surprised on how much memory that is taking. On my GPU I can train YOLO using their Darknet framework with batch size 64. On TensorFlow I ...
Clash's user avatar
  • 4,926
5 votes
3 answers
11k views

How to disable all tensorflow warnings?

I have a for loop with several different deep learning models in it that generates this warning: WARNING:tensorflow:5 out of the last 5 calls to <function Model.make_predict_function.<locals>....
Cole's user avatar
  • 359
6 votes
1 answer
16k views

This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical

I have the following code: import tensorflow as tf print("Hello") And the output is: This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the ...
Noah Carter's user avatar
4 votes
1 answer
5k views

Disable tensorflow retracing warning in keras

I have created keras functional API model and now I'm trying to look into it's layers outputs creating submodels for every layer which starts with original model's input and ends with the layer of my ...
Mateusz Bugaj's user avatar
0 votes
1 answer
2k views

How to stop the PNG warning: iCCP: known incorrect sRGB profile printing to console?

I am trying to run some code which cannot be altered in functionality, but it would be great if I can somehow ignore the warnings or prevent them from being printed to the console, as it congests it ...
ArrogantCoder's user avatar
4 votes
1 answer
1k views

Warning `tried to deallocate nullptr` when using tensorflow eager execution with tf.keras

As per the tensorflow team suggestion, I'm getting used to tensorflow's eager execution with tf.keras. However, whenever I train a model, I receive a warning (EDIT: actually, I receive this warning ...
Gianluca Micchi's user avatar

15 30 50 per page