Comments (1)
Hi again,
I did a little of code modification and included option for using an OpenCL libraries. You can see that my GPU card has been recognized:
using OpenCL on GPU 0...
loading data files...
Word vocab size: 43617, Char vocab size: 84
reshaping tensors...
data load done. Number of batches in train: 653, val: 110, test: 1
Word vocab size: 43617, Char vocab size: 84, Max word length (incl. padding): 53
creating an LSTM-CNN with 2 layers
Using Apple , OpenCL platform: Apple
Using OpenCL device: ATI Radeon HD 6770M
number of parameters in the model: 15431727
cloning rnn
cloning criterion
However, the code breaks after that with this message:
/User/**/torch/install/bin/luajit: ...v/torch/install/share/lua/5.1/nn/TemporalConvolution.lua:41: attempt to call field 'TemporalConvolution_updateOutput' (a nil value)
stack traceback:
.../torch/install/share/lua/5.1/nn/TemporalConvolution.lua:41: in function 'func'
.../torch/install/share/lua/5.1/nngraph/gmodule.lua:311: in function 'neteval'
.../torch/install/share/lua/5.1/nngraph/gmodule.lua:346: in function 'func'
.../torch/install/share/lua/5.1/nngraph/gmodule.lua:311: in function 'neteval'
.../torch/install/share/lua/5.1/nngraph/gmodule.lua:346: in function 'forward'
main.lua:368: in function 'feval'
main.lua:435: in main chunk
[C]: in function 'dofile'
.../torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x010cf78bb0
I cannot get a hold of this error but I see they are from nn
library. Does it mean that OpenCL project do not have the same set of operations in nn
package when comparing to CUDA
project?
from lstm-char-cnn.
Related Issues (20)
- Problem with LSTM-Word-Small on CPU. Only get 122 on validation and 115 on test HOT 2
- About the hierarchical softmax HOT 1
- Sampling code HOT 6
- Character HOT 1
- Reconstruction of table 6 from paper - Dealing with OOV words HOT 2
- error in cuda version HOT 1
- path index undefined
- problem about torch HOT 4
- New version without Squeeze.lua causes error HOT 4
- Squeeze error HOT 1
- Image based recognision HOT 1
- How is the matrix C-k padded with zeros? HOT 1
- wrong number of arguments for function call in THNN.lua HOT 2
- shuffling the data performs worse HOT 2
- How te generate train.txt and valid.txt from personal datas ?
- Reduce memory requirement while precessing the data
- What is the task at hand ?
- cnn application
- How can I get the 2013 ACL Workshop MT data?
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 lstm-char-cnn.