vudung45/FaceRec

Unable to locate 20170512-110547.pb

sierra1bravo opened this issue · 5 comments

Hi

I do not see this file in the zip file in the link provided...consequently, main.py does not run.

Thanks for any help.

@sierra1bravo please redownload the model. I've updated it!

I am getting the same error, that file is not in the models folder, but rather these:


model-20170512-110547.ckpt-250000.index

model-20170512-110547.ckpt-250000.data-00000-of-00001

I renamed the second one to the file which is seeked, but even after then I got:

Traceback (most recent call last):
  File "main.py", line 161, in <module>
    extract_feature = FaceFeature(FRGraph)
  File "/home/user/workspace/FaceRec/face_feature.py", line 22, in __init__
    self.__load_model(model_path)
  File "/home/user/workspace/FaceRec/face_feature.py", line 49, in __load_model
    graph_def.ParseFromString(file_.read())
google.protobuf.message.DecodeError: Error parsing message

I am getting the same error, that file is not in the models folder, but rather these:


model-20170512-110547.ckpt-250000.index

model-20170512-110547.ckpt-250000.data-00000-of-00001

I renamed the second one to the file which is seeked, but even after then I got:

Traceback (most recent call last):
  File "main.py", line 161, in <module>
    extract_feature = FaceFeature(FRGraph)
  File "/home/user/workspace/FaceRec/face_feature.py", line 22, in __init__
    self.__load_model(model_path)
  File "/home/user/workspace/FaceRec/face_feature.py", line 49, in __load_model
    graph_def.ParseFromString(file_.read())
google.protobuf.message.DecodeError: Error parsing message

I see no .pb file either so I am also unsure which file to use.

(edit)

I used the same 20170512 file but went into a venv and it worked fine.

hwhh commented

Hi,

How did you solve this?