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
I wish to test the model on a CPU, how can i achieve that? I have tried setting the gpd_id as 0 but it returns an error stating spatialconvolution requires cuda. Therefore, i included a line cudnn.convert(model[1], nn) in model.lua before line 55 to overcome the error. But now i'm getting another error:
bad argument #2 to '?' (number expected, got userdata)
stack traceback:
[C]: in ?
[C]: in function '__add'
../im2markup/src/model/model.lua:593: in function 'feval'
../im2markup/src/model/model.lua:887: in function 'step'
../im2markup/src/train.lua:111: in function 'train'
../im2markup/src/train.lua:291: in function 'main'
../im2markup/src/train.lua:297: in main chunk
Any help is appreciated! Thanks
The text was updated successfully, but these errors were encountered:
I wish to test the model on a CPU, how can i achieve that? I have tried setting the gpd_id as 0 but it returns an error stating spatialconvolution requires cuda. Therefore, i included a line cudnn.convert(model[1], nn) in model.lua before line 55 to overcome the error. But now i'm getting another error:
Any help is appreciated! Thanks
The text was updated successfully, but these errors were encountered: