Open laowu8615 opened 7 years ago
remove ./ docker run --volume=$(pwd):/workspace caffe:cpu python classify_nsfw.py --model_def nsfw_model /deploy.prototxt --pretrained_model nsfw_model/resnet_50_1by2_nsfw.caffemodel test.jpg
remove ./,then the error is also existing
Then how to work it out? Does anybody have a solution for this?
I am facing same problem. Does anybody solve this?
Just make sure that you clone this repo and now in directory with it.
I use the windows system, based on the docker installed caffe, I switch to the "open_nsfw-master" folder, when I execute the following statement, the error is "python:can't open file './classify_nsfw.py':[Errno 2]No such file or directory",but the file is real in my folder,why? 'docker run --volume=$(pwd):/workspace caffe:cpu python ./classify_nsfw.py --model_def nsfw_model /deploy.prototxt --pretrained_model nsfw_model/resnet_50_1by2_nsfw.caffemodel test.jpg ',