Comments (4)
Further to this problem there is an easy fix. Just add/change the following 3 lines in modules.py. Starting from the bottom so that the line numbers I show don't change.
Change line 59 to:
return input_weighted, input_encoded.to(device) # Fixed CUDA bug #
Change line 11 to:
return Variable(torch.zeros(1, x.size(0), hidden_size).to(device)) # Fixed CUDA bug #
Add after line 4:
from constants import device # Fixed CUDA bug BF 20190710 #
Thats it!
from da-rnn.
Me too.
from da-rnn.
Me tooo
from da-rnn.
Yes, the same problem. Has this been tested with cuda?
from da-rnn.
Related Issues (20)
- why not use tanh in encoder while use it in decoder ? HOT 2
- FileNotFoundError: [Errno 2] No such file or directory: '/da-rnn/plots/pred_0.png' HOT 1
- I got an error when run main_predict.py after running main.py successful HOT 3
- one of the variables needed for gradient computation has been modified by an inplace operation
- How many epoch should I choose? HOT 1
- why use companies' stock price to predict NASDAQ-100 Index?
- Is there any room for gpu memory improvements? HOT 2
- The result value is different from raw data because of StandardScaler(). How can I get the plots and calculate MSE use raw data?
- It's weird that this code can only performance well on predicting 'NDX' HOT 1
- Dose this model genelarize well on your (other) dataset? HOT 1
- Evaluation mode missing on validation and predict
- tensor problem
- Multi-Step Prediction
- Can't find tanh function in eqn. 8 HOT 1
- Current values of external factor are used for prediction in your code? HOT 11
- Regarding scaling of data HOT 2
- Reg predicting the output HOT 1
- NaN issues when changing dat-aset. HOT 2
- Data overlapping in train/test split HOT 1
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 da-rnn.