Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot run main.py in paddle project #175

Open
sulebaynes opened this issue Sep 19, 2021 · 1 comment
Open

cannot run main.py in paddle project #175

sulebaynes opened this issue Sep 19, 2021 · 1 comment

Comments

@sulebaynes
Copy link

Hi,

when trying to run the main.py, I am getting the following error:

Traceback (most recent call last):
  File "main.py", line 157, in <module>
    test = FaceEval()
  File "main.py", line 13, in __init__
    self.mtcnn = MTCNN()
  File "/../face.evoLVe.PyTorch/paddle/PaddleInference-demo/utils.py", line 23, in __init__
    self.pnet = init_predictor('../model/PNet')
  File "/../face_recognition/face.evoLVe.PyTorch/paddle/PaddleInference-demo/utils.py", line 17, in init_predictor
    predictor = inference.create_predictor(config)
RuntimeError: (NotFound) Cannot open file ../model/PNet.pdmodel, please confirm whether the file is normal.
  [Hint: Expected static_cast<bool>(fin.is_open()) == true, but received static_cast<bool>(fin.is_open()):0 != true:1.] (at /paddle/paddle/fluid/inference/api/analysis_predictor.cc:915)

anyone having the same issue?
thanks in advance

@alex-xia-xia
Copy link

did you fix that, i got the same problem

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

No branches or pull requests

2 participants