yahoo / open_nsfw

Not Suitable for Work (NSFW) classification using deep neural network Caffe models.
BSD 2-Clause "Simplified" License
5.86k stars 1.05k forks source link

Segmentation fault when running classify_nsfw.py #70

Open carial opened 6 years ago

carial commented 6 years ago

My machine is Macbook Pro with Mac OS X (High Sierra, 10.13.3). I installed caffe and pycaffe. When I ran the following at command line, I got "Segmentation fault: 11". Python version is 2.7.15.

LD_LIBRARY_PATH=/temp/caffe/distribute/lib python ./classify_nsfw.py --model_def nsfw_model/deploy.prototxt --pretrained_model nsfw_model/resnet_50_1by2_nsfw.caffemodel /temp/image.jpg

Could you help to see what's going wrong? Thanks.