You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for your great work! Now I am trying to run the code and I change the value of gpu in main_cls.lua and main_cls_int.lua to zero already. But when I run train_coco.sh, I still got such an error: Users/yobichi/torch/install/bin/luajit: main_cls.lua:56: attempt to call field 'setDevice' (a nil value). The full message is as below:
{
img_dir : "/Users/yobichi/icml2016/resource/train2014"
name : "coco_nc3_nt128_nz100_bs64_cls0.5_ngf196_ndf196"
txtSize : 1024
niter : 200
batchSize : 64
ndf : 196
nz : 100
numCaption : 3
gpu : 3
filenames : ""
decay_every : 40
cls_weight : 0.5
noise : "normal"
ntrain : inf
beta1 : 0.5
nThreads : 12
lr_decay : 0.5
init_g : ""
fineSize : 64
loadSize : 76
print_every : 4
ngf : 196
use_cudnn : 1
init_d : ""
checkpoint_dir : "/Users/yobichi/icml2016/checkpoints"
lr : 0.0002
dataset : "coco"
data_root : "/Users/yobichi/icml2016/resource/train2014_ex_t7"
save_every : 5
large : 0
doc_length : 201
nt : 128
display_id : 103
display : 1
}
/Users/yobichi/torch/install/bin/luajit: main_cls.lua:56: attempt to call field 'setDevice' (a nil value)
stack traceback:
main_cls.lua:56: in main chunk
[C]: in function 'dofile'
...ichi/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x0105c15ad0
Could you tell me what's wrong with it and how can I fix it? Thanks in advance!
The text was updated successfully, but these errors were encountered:
First of all, thanks for your great work! Now I am trying to run the code and I change the value of
gpu
inmain_cls.lua
andmain_cls_int.lua
to zero already. But when I runtrain_coco.sh
, I still got such an error:Users/yobichi/torch/install/bin/luajit: main_cls.lua:56: attempt to call field 'setDevice' (a nil value)
. The full message is as below:Could you tell me what's wrong with it and how can I fix it? Thanks in advance!
The text was updated successfully, but these errors were encountered: