Closed hurnhu closed 6 years ago
unable to run first example, any suggestions? trying with this command
th neural_style.lua -style_image examples/inputs/picasso_selfport1907.jpg -content_image examples/inputs/brad_pitt.jpg -output_image profile.png -model_file models/nin_imagenet_conv.caffemodel -proto_file models/train_val.prototxt -gpu 0 -backend clnn -num_iterations 1000 -seed 123 -content_layers relu0,relu3,relu7,relu12 -style_layers relu0,relu3,relu7,relu12 -content_weight 10 -style_weight 1000 -image_size 512 -optimizer adam -gpu -1
attempt to index a nil value stack traceback: neural_style.lua:57: in function 'main' neural_style.lua:601: in main chunk [C]: in function 'dofile' ...rnhu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x555cefdb4560
unable to run first example, any suggestions? trying with this command