-
Notifications
You must be signed in to change notification settings - Fork 64
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' #25
Comments
Same here. Were you able to overcome the error? |
It's likely an issue with the compiled embeddings. If you
does it work after compiling the embeddings? I will implement some further consistency check on the embeddings DB, embeddings path, and some automated internet download of the embeddings, which should prevent these kind of issues. |
I got that error when |
I think this issue is obsolete and can be closed |
I don't remember when, but I added a check on the validity of a compiled embeddings db, so that problem should be solved. But I don't know if the error is really related to this. Nothing was done about testing empty list_classes I think. |
I installed all the packages as mentioned in your requirements.txt. I am having error in model.fit_generator
line 687, in train_model workers=6,epochs=1) File "/home/rohit/home/Development/Test/03042019/project1_env/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper return func(*args, **kwargs) File "/home/rohit/home/Development/Test/03042019/project1_env/lib/python3.6/site-packages/keras/engine/training.py", line 2080, in fit_generator self._make_train_function() File "/home/rohit/home/Development/Test/03042019/project1_env/lib/python3.6/site-packages/keras/engine/training.py", line 990, in _make_train_function loss=self.total_loss) File "/home/rohit/home/Development/Test/03042019/project1_env/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper return func(*args, **kwargs) File "/home/rohit/home/Development/Test/03042019/project1_env/lib/python3.6/site-packages/keras/optimizers.py", line 257, in get_updates self.updates.append(K.update(a, new_a)) File "/home/rohit/home/Development/Test/03042019/project1_env/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 963, in update return tf.assign(x, new_x) File "/home/rohit/home/Development/Test/03042019/project1_env/lib/python3.6/site-packages/tensorflow/python/ops/state_ops.py", line 284, in assign return ref.assign(value, name=name)
The text was updated successfully, but these errors were encountered: