titu1994 / nested-lstm Goto Github PK
View Code? Open in Web Editor NEWKeras implementation of Nested LSTMs
License: MIT License
Keras implementation of Nested LSTMs
License: MIT License
I found the error when I import NestedLSTM from nested_lstm.py.
I have also checked the source code of keras. There are no function named '_generate_dropout_mask' and '_generate_dropout_ones' in keras.layers.recurrent.
Hi,
I was trying out NestedLSTM over CRAN's R and it seems Keras has removed this function since Keras 2.1.6:
cannot import name '_generate_dropout_ones'
Keras removal of the function:
keras-team/keras#9892
How to interface with NestedLSTM with Rstudio keras library:
rstudio/keras#610
Thanks
hello,when i use the NestedLSTM code,it always have some error on tf, could you update the code to tf2.0.It will improve the paper's cite.
ImportError: cannot import name '_generate_dropout_mask'
With tensorflow version 2.3.0 and keras version 2.4.3 I get the following warning:
Gradients do not exist for variables ['lstm1/nested_lstm_cell/input_kernel_1:0'] when minimizing the loss.
This is a piece of code I used:
from nested_lstm import NestedLSTM
i = Input(shape=(10, 4), name='input_layer')
o = NestedLSTM(28, depth=4, return_sequences=True, name='lstm1')(i)
Any ideas why this happens?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.