jcjohnson / neural-style

Torch implementation of neural style algorithm
MIT License
18.31k stars 2.7k forks source link

C++ exception in neural-style #357

Open caroline96x opened 7 years ago

caroline96x commented 7 years ago

There is no other errors before I test the neural-style with the code $th neural_style.lua -gpu -1 -print_iter 1 then it shows like this:

caroline@ubuntu:~/neural-style$ th neural_style.lua -gpu -1 -print_iter 1 [libprotobuf WARNING google/protobuf/io/coded_stream.cc:537] Reading dangerously large protocol message. If the message turns out to be larger than 1073741824 bytes, parsing will be halted for security reasons. To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h. [libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 574671192 Successfully loaded models/VGG_ILSVRC_19_layers.caffemodel /home/caroline/torch/install/bin/luajit: C++ exception

hzfeibao commented 7 years ago

I also get this exception when I test th neural_style.lua -gpu -1 -print_iter 1 and I only get /home/ubuntu/torch/install/bin/luajit: C++ exception nothing more