Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only Cuda supported duh! #3

Closed
SeekPoint opened this issue Nov 21, 2016 · 4 comments
Closed

Only Cuda supported duh! #3

SeekPoint opened this issue Nov 21, 2016 · 4 comments

Comments

@SeekPoint
Copy link

rzai@rzai00:~/prj/nips2016$ bash scripts/train_cub_keypoints.sh
{
img_dir : "/media/rzai/ai_data/www.vision.caltech.edu-visipedia-CUB-200-2011/CUB_200_2011/CUB_200_2011/images"
name : "cub_kp_nh1_z0_kd16_bs16_ngf128_ndf128"
txtSize : 1024
niter : 600
batchSize : 16
ndf : 128
nz : 100
numCaption : 4
gpu : 0
filenames : ""
decay_every : 100
cls_weight : 0.5
noise : "normal"
ntrain : inf
keypoint_dim : 16
num_holdout : 1
beta1 : 0.5
nThreads : 8
lr_decay : 0.5
init_g : ""
fineSize : 128
use_cudnn : 1
loadSize : 150
checkpoint_dir : "checkpoints"
init_d : ""
ngf : 128
nt : 128
dbg : 0
zero_kp : 0
print_every : 10
lr : 0.0002
num_elt : 15
data_root : "../../_reedscot/de_nips2016_data.tar.gz/nips2016_data/cub_keypoints"
save_every : 100
port : 8000
doc_length : 201
dataset : "cub_keypoint_and_image"
display_id : 7240
display : 1
}
Random Seed: 2400
Starting donkey with id: 2 seed: 2402
Starting donkey with id: 7 seed: 2407
Starting donkey with id: 5 seed: 2405
Starting donkey with id: 8 seed: 2408
Starting donkey with id: 4 seed: 2404
Starting donkey with id: 6 seed: 2406
Starting donkey with id: 3 seed: 2403
Starting donkey with id: 1 seed: 2401
Dataset: cub_keypoint_and_image Size: 11788
/home/rzai/torch/install/bin/luajit: /home/rzai/torch/install/share/lua/5.1/nn/Container.lua:67:
In 1 module of nn.Sequential:
In 1 module of nn.ConcatTable:
In 1 module of nn.Sequential:
In 1 module of nn.ConcatTable:
In 1 module of nn.Sequential:
In 1 module of nn.ConcatTable:
In 1 module of nn.Sequential:
In 1 module of nn.ConcatTable:
In 2 module of nn.Sequential:
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:32: Only Cuda supported duh!
stack traceback:
[C]: in function 'assert'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:32: in function 'resetWeightDescriptors'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:96: in function 'checkInputChanged'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:120: in function 'createIODescriptors'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:187: in function <...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:185>
[C]: in function 'xpcall'
/home/rzai/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/rzai/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function </home/rzai/torch/install/share/lua/5.1/nn/Sequential.lua:41>
[C]: in function 'xpcall'
/home/rzai/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
...
/home/rzai/torch/install/share/lua/5.1/nn/ConcatTable.lua:11: in function </home/rzai/torch/install/share/lua/5.1/nn/ConcatTable.lua:9>
[C]: in function 'xpcall'
/home/rzai/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/rzai/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
main_cub_keypoints.lua:375: in function 'opfunc'
/home/rzai/torch/install/share/lua/5.1/optim/adam.lua:37: in function 'adam'
main_cub_keypoints.lua:448: in main chunk
[C]: in function 'dofile'
...rzai/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670

WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/rzai/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/rzai/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
main_cub_keypoints.lua:375: in function 'opfunc'
/home/rzai/torch/install/share/lua/5.1/optim/adam.lua:37: in function 'adam'
main_cub_keypoints.lua:448: in main chunk
[C]: in function 'dofile'
...rzai/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
rzai@rzai00:~/prj/nips2016$

@SeekPoint
Copy link
Author

this is caused by a wrong config by myself

@IcedDoggie
Copy link

Hi @lovejasmine , may I know what kind of wrong configs? Because I am facing this issue now but I can't find any answers on internet.

Appreciate.

@SeekPoint
Copy link
Author

oh, the task had done several weeks ago, I am forget it.

maybe you should reinstall torch and the packages

@ilkerkesen
Copy link

I'm having the same issue. Is there any known solution? My Torch installation is fresh. Using Lua 5.1, CuDNN 5.1, CUDA 8.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants