@akhanivishant I find a way to solve this problem.
run this command 'docker run -ti bvlc/caffe:cpu caffe --version' instead
2.then run 'docker run --volume=$(pwd):/workspace bvlc/caffe:cpu python ./classify_nsfw.py --model_def nsfw_model/deploy.prototxt --pretrained_model nsfw_model/resnet_50_1by2_nsfw.caffemodel test_image.jpg'
It works!
Hi , while running : docker build -t caffe:cpu https://raw.githubusercontent.com/BVLC/caffe/master/docker/cpu/Dockerfile This command , i am getting error at your step 7 , when you are updating pip version.
File "/usr/bin/pip", line 9, in
from pip import main
ImportError: cannot import name main
As i have already installed latest pip version but when you update in it's giving error because of pip.