Skip to content
This repository has been archived by the owner on Oct 18, 2019. It is now read-only.

python:can't open file './calssify_nsfw.py':[Errno 2]No such file or directory #47

Open
laowu8615 opened this issue Apr 5, 2017 · 5 comments

Comments

@laowu8615
Copy link

laowu8615 commented Apr 5, 2017

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 ',

@OuIChien
Copy link

OuIChien commented Apr 6, 2017

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

@laowu8615
Copy link
Author

laowu8615 commented Apr 7, 2017

remove ./,then the error is also existing

@AlphaGarden
Copy link

Then how to work it out? Does anybody have a solution for this?

@FAHADSUST
Copy link

I am facing same problem. Does anybody solve this?

@bondeg
Copy link

bondeg commented Oct 7, 2019

Just make sure that you clone this repo and now in directory with it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants