New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Tensor' object has no attribute 'assign' #1
Comments
What version of tensorflow are you using? We currently only supports 0.12.0. Will add support to the latest 1.0 version soon. |
Aah, explaining factor then. Yes I switched to the latest 1.xx version already @flyyufelix |
Hello, |
Apologize for the delay @petteriTeikari . I've already made the necessary changes to get the code to work with the latest versions of Keras (2.0.5) and TensorFlow (1.2.1) |
hey @flyyufelix I am getting the same issue on tensorflow backend my keras version is 2.0.4 |
Oh yes, I forgot to erase a line in custom_layers.py which caused the error above. It should work now! |
Hey @flyyufelix, I am getting the below error: |
@chhayac I had this error when my data was accidentally empty :(
|
@ubershmekel did you manage to sort this out? I'm having the same problem : , ( |
I didn't solve the bug in Tensorflow. But I did notice it was only occurring in a degenerate scenario. E.g. if the matrix had no rows, no columns, no shape. If I sent in an empty iterator. I didn't debug exactly to figure out what. Just make sure whatever you're feeding into keras or tf isn't empty. |
@ubershmekel Thanks! I had the same issue and you were right: this error occurs in a degenerate scenario, in my case I controlled the number of filter in a layer through a variable that was null at a moment. |
Hi,
Thanks a lot for the repo, but I hit the following error when trying the
python test_inference.py
with the densenet169:So when printing the types of the variables in the saved weights I got the following:
And the
batch_set_value(tuples)
from the backend hit the Tensor problem with "conv1_scale", is there a fix for this to allow the assigning or are the weights somewhat weirdly saved?:The text was updated successfully, but these errors were encountered: