You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is a problem to run this code ,but i don't how to solve , please query a help,"construct_original_network grads = tape.gradient(preds[:,c], x) File "C:\Users\高婷\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\backprop.py", line 1086, in gradient unconnected_gradients=unconnected_gradients) File "C:\Users\高婷\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\imperative_grad.py", line 77, in imperative_grad compat.as_str(unconnected_gradients.value)) AttributeError: 'KerasTensor' object has no attribute '_id'" #10