Comments (3)
It looks like the GPU is out of memory and thats why it can't create cmat matrix. Trying reducing the number of hidden units in LSTM.
Which GPU are you using ?
from unsupervised-videos.
Thanks for reply.
Yes, you were right, I solved the memory problem and now after running the following script:
python lstm_combo.py models/lstm_combo_1layer_mnist.pbtxt datasets/bouncing_mnist.pbtxt datasets/bouncing_mnist_valid.pbtxt 0
Using gpu: 0
Using board 0
2048
2048
2048
Model saved at /home/n9033297/unsupervised-videos/models/lstm_combo_20160602160022.pbtxt
Step 1Traceback (most recent call last):
File "/home/n9033297/unsupervised-videos/lstm_combo.py", line 407, in
main()
File "/home/n9033297/unsupervised-videos/lstm_combo.py", line 397, in main
lstm_autoencoder.Train(train_data, valid_data)
File "/home/n9033297/unsupervised-videos/lstm_combo.py", line 349, in Train
self.Fprop(train=True)
File "/home/n9033297/unsupervised-videos/lstm_combo.py", line 60, in Fprop
self.lstm_stack_enc_.Fprop(input_frame=self.v_.col_slice(t * self.num_dims_, (t+1) * self.num_dims_))
File "/home/n9033297/unsupervised-videos/lstm.py", line 327, in Fprop
train=train, copy_init_state=copy_init_state)
File "/home/n9033297/unsupervised-videos/lstm.py", line 120, in Fprop
use_relu=self.use_relu_, init=init)
File "/home/n9033297/unsupervised-videos/cudamat/cudamat.py", line 2226, in lstm_fprop
err_code = _cudamat.lstm_fprop(s_in.p_mat, s_out.p_mat, w_dense.p_mat, w_diag.p_mat, b.p_mat, ct.c_bool(init), ct.c_bool(use_relu))
AttributeError: 'module' object has no attribute 'c_bool'
Is that normal to get this error and how can I fix it?
Thanks.
from unsupervised-videos.
It is something to do with ctypes library build in into python.
We were using python 2.7 (i believe) for experiments so, newer versions of python might have made some changes to ctypes library that breaks the code.
from unsupervised-videos.
Related Issues (20)
- CUDAMatException HOT 2
- lstm classifier examples
- invalid device function{cm.CUDAMatrix.init_random(42)} cudamat.cudamat.CUDAMatException: CUDA error: no error HOT 10
- Weights for frame prediction used in the paper HOT 5
- Questions regarding some design decisions used to train MovingMNIST in the paper HOT 6
- KeyError: "Unable to open object (Object 'lstm_1_enc:w_dense' doesn't exist)"
- Data format HOT 1
- no eps decay? HOT 1
- 1 input -> next predicted output
- Questions about LSTM_classifier HOT 1
- no kernel image is available for execution on the device HOT 2
- runtest failed:[runtest] segmentation fault (core dumped)
- Error while giving the command for training HOT 6
- Extrpolating matrices
- Training with new dataset HOT 1
- Make the file Makefile in the folder cudamat HOT 2
- Request for the script to generate moving mnist video dataset HOT 1
- Videos
- -![image](https://user-images.githubusercontent.com/101527858/159179877-0df83b60-09df-4a31-834b-d59002aba969.jpeg)
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 unsupervised-videos.