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

why we cannot use gpu 0? #12

Open
SeekPoint opened this issue Oct 26, 2016 · 0 comments
Open

why we cannot use gpu 0? #12

SeekPoint opened this issue Oct 26, 2016 · 0 comments

Comments

@SeekPoint
Copy link

'-devid 1' can run normally

rzai@rzai00:/prj/BinaryNet$ th Main_BinaryNet_Cifar10.lua -network BinaryNet_Cifar10_Model -devid 0 -batchSize 150 -epoch 500 2>&1 | tee yknote---log
sh: 1: mk1ir: not found
0
14033566
14033566
14033566
[program started on Wed Oct 26 16:26:15 2016]
[command line arguments]
stcWeights false
LR 0.015625
modelsFolder ./Models/
batchSize 150
optimization adam
preProcDir /home/rzai/prj/BinaryNet/PreProcData/Cifar10
network ./Models/BinaryNet_Cifar10_Model
stcNeurons true
constBatchSize false
LRDecay 0
whiten true
augment false
load
nGPU 1
dp_prepro false
format rgb
save /home/rzai/prj/BinaryNet/Results/WedOct2616:26:082016
dataset Cifar10
normalization simple
devid 0
visualize 1
type cuda
threads 8
SBN true
momentum 0
weightDecay 0
runningVal false
epoch 500
[----------------------]
THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-6130/cutorch/init.c line=719 error=10 : invalid device ordinal
/home/rzai/torch/install/bin/luajit: Main_BinaryNet_Cifar10.lua:115: cuda runtime error (10) : invalid device ordinal at /tmp/luarocks_cutorch-scm-1-6130/cutorch/init.c:719
stack traceback:
[C]: in function 'setDevice'
Main_BinaryNet_Cifar10.lua:115: 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/BinaryNet$
rzai@rzai00:/prj/BinaryNet$
rzai@rzai00:
/prj/BinaryNet$

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

1 participant