【Question】NotImplementedError: run SDNE in Python3.8, tf2.11.0
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
File "d:/pyproject/graph_projects/GraphEmbedding/examples/sdne_wiki.py", line 50, in
File "D:\anaconda3\envs\emb38\lib\site-packages\ge-0.0.0-py3.8.egg\ge\models\sdne.py", line 36, in loss_2nd *
b_ = np.ones_like(y_true)
File "<__array_function__ internals>", line 200, in ones_like **
File "D:\anaconda3\envs\emb38\lib\site-packages\numpy\core\numeric.py", line 281, in ones_like
res = empty_like(a, dtype=dtype, order=order, subok=subok, shape=shape)
File "<__array_function__ internals>", line 200, in empty_like
NotImplementedError: Cannot convert a symbolic tf.Tensor (IteratorGetNext:2) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported.
Do you solve the problem?I meet the same error