Comments (2)
I discovered that my problems comes from the fact that LookupTable cannot have gradients with respect to inputs so it does not make sense to have modules executed before it.
The solution is to make this module the first to be executed in the model.
from rnn.
@emergix yes, it's one of those annoying things we need to know about the LookupTable :)
from rnn.
Related Issues (20)
- Weight normalization
- SequencerCriterion does not appear to work in batch mode HOT 1
- Error when using dropout in GRU HOT 1
- Problem at inference with Sequencer HOT 1
- Make rnn to pytorch? HOT 1
- Bad size of gradInput in BiSequencerLM HOT 1
- invalid parent class name nn.Decorator HOT 6
- rnn/Sequencer.lua:90: attempt to index field 'tableoutput' (a nil value) HOT 2
- [Feature request] nn.seqBRNN ability to stack and maskZero()
- attempt to call field 'Recurrent' (a nil value) HOT 1
- Error: class nn.SpatialGlimpse has been already assigned a parent class HOT 2
- Evaluation error in "evaluate-rva.lua". HOT 1
- Why "gradOutput" buffers are not freed after calling clearState()?
- Character-level BiLSTM take the first and last hidden state HOT 2
- rnn init.lua contains classes that belong to dpnn HOT 2
- error: not enough memory when running noise-contrastive-estimate example
- Error when recurrent visual attention model on sample data non MNIST
- ParallelTable with Sequencer does not seem to work HOT 2
- Module to add soft/hard attention mechanism to a LSTM
- Doubt regarding MaskZero
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 rnn.