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

error about "classification.lua" #20

Open
nottwy opened this issue Jun 12, 2020 · 0 comments
Open

error about "classification.lua" #20

nottwy opened this issue Jun 12, 2020 · 0 comments

Comments

@nottwy
Copy link

nottwy commented Jun 12, 2020

I run the command below
th classification.lua -input_image_path images/cat_dog.jpg -label 243 -gpuid -1

And I get such error message:

{
input_sz : 224
out_path : "output/"
seed : 123
label : 243
gpuid : -1
proto_file : "models/VGG_ILSVRC_16_layers_deploy.prototxt"
input_image_path : "images/cat_dog.jpg"
save_as_heatmap : 1
layer_name : "relu5_3"
backend : "nn"
model_file : "models/VGG_ILSVRC_16_layers.caffemodel"
output_image_name : ""
}
Couldn't load models/VGG_ILSVRC_16_layers.caffemodel
/home/nott/00.software/00.ml/torch/install/bin/luajit: classification.lua:48: attempt to index local 'cnn' (a nil value)
stack traceback:
classification.lua:48: in main chunk
[C]: in function 'dofile'
...0.ml/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406460

I'm not sure why it's like this. Could you help me?

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