Relative Content

Tag Archive for tensorflow

AttributeError: ‘SymbolicTensor’ object has no attribute ‘numpy’

My tensorflow graph neural network has a loss function looks like the code below. It calculates the loss based on the input key. Since gnn stores the key in bytes format, and I need to evaluate it to string for hashing the features. But it failed with eager execution is disabled. How to make it works?

Accuracy extremely low when using different dataset with tensroflow recommenders

I have followed the tutorial on the TensorFlow Recommenders website and when trying to adapt it to my dataset, the accuracy suddenly becomes extremely low.. like 0.27 for their dataset and 0.0027 for mine.
I have managed at some point to adapt it correctly and have a similar accuracy on my dataset but somehow I ruined the code and now I can’t make it back up.

Tensorflow for windows-11

As I write ‘import tensorflow as tf’ I get this kinda error message on jupiter notebook. I am new on this platform so i folled many tutorials from youtube. But everytime, the first tensorflow linwe isn’t working.
error_pic