-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Missing Trainable Variables and Variables #38211
Comments
i am able to replicate this issue, please find the gist here |
Thank you @Saduf2019 . |
@YingzhouLi, As you haven't called for the call function, thatswhy it isn't being concatenated and is not showing all 6 vectors. Probably certain changes might help in showing all 6 vectors and finally call function will concatenate all of the vectors- |
@gulshanrana10 Thank you very much for the fix. It works. However, I am very much confused by the mechanism behind this. I am relatively new to python but familiar with C++ class. Why tensorflow cannot catch self.FooTns directly, which is also a member of the class as self.array in init? |
Thanks for reporting the issue, it seems to be a bug in layer weight tracking logic. There are a few walkaround at the moment when we fix the issue:
|
Thank you. It is good to know that the issue is not caused by some unknown nature of python. The workaround works for me and look forward to the update. |
Was able to reproduce your issue in Tf Nightly 2.6.0-dev20210525, please find the gist here. Thanks! |
Was able to reproduce your issue in |
Hi There, This is a stale issue. As you are using an older version of tensorflow, we are checking to see if you still need help on this issue. Please test the issue with the latest TensorFlow (TF2.7 and tf-nightly). If the issue still persists with the newer versions of TF, please feel free to open it in keras-team/keras repository by providing details about the issue and a standalone code to reproduce the issue. Thanks! Please note that Keras development has moved to a separate Keras-team/keras repository to focus entirely on only Keras. Thanks! |
System information
example script provided in TensorFlow): Yes
Linux Ubuntu 16.04): Ubuntu 19.04
binary): TF 2.1 installed from pip
The output currently is only:
While the expected output is listing all 6 tensors, ''self.FooTns0'' and ''self.FooTns''.
The text was updated successfully, but these errors were encountered: