Comments (1)
When I try to implement lstm_attentio.py I get an error as such,
Traceback (most recent call last):
File "lstm_Attention.py", line 39, in
en_shape=np.shape(train_data["article"][0])
NameError: name 'train_data' is not definedhelp me correct it
train_data is the output from word2vec program
from bidirectiona-lstm-for-text-summarization-.
Related Issues (10)
- cnn_daily_load.py HOT 2
- Lstm_atttention.py : The last dimension of the inputs to a Dense layer should be defined. Found None. Full input shape received: (None, 128, None)
- Word2vec.py HOT 6
- Lstm_attention.py HOT 6
- Can you talk about the running environment of the code, such as tensorflow version python version, etc.
- TypeError: list indices must be integers or slices, not tuple. HOT 3
- Getting the same result for all articles ! HOT 2
- How to find word from vector in gensim word2vec HOT 1
- Data not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bidirectiona-lstm-for-text-summarization-.