FaceRec icon indicating copy to clipboard operation
FaceRec copied to clipboard

Unable to locate 20170512-110547.pb

Open sierra1bravo opened this issue 6 years ago • 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 avatar Dec 24 '18 11:12 sierra1bravo

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

vudung45 avatar Dec 25 '18 08:12 vudung45

Thanks, will do! I hope it is available at the same link as mentioned in the documentation.

s1b

On Tue, Dec 25, 2018 at 2:14 PM David Vu [email protected] wrote:

@sierra1bravo https://github.com/sierra1bravo please redownload the model. I've updated it!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vudung45/FaceRec/issues/38#issuecomment-449825381, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4vm4w5o-3yrcSh-oJ-ItowtPt-tPmPks5u8eWDgaJpZM4ZgXzn .

sierra1bravo avatar Dec 25 '18 09:12 sierra1bravo

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

eyildiz-ugoe avatar Jan 10 '19 08:01 eyildiz-ugoe

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.

cluzier avatar May 09 '19 14:05 cluzier

Hi,

How did you solve this?

hwhh avatar Oct 11 '20 23:10 hwhh