-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
error when running Validate_on_lfw #852
Comments
hi @nonameever95 @davidsandberg , I met a similar situation like yours. KeyError is: Evironment is: Directory tree: ├── datasets Hope someone can help. |
This problem is solved ! |
same. I install tensorflow1.7 and it worked. |
I also have the same problem, how can it be compatible to tensorflow 1.10? |
@karlTUM Just install another version of Tensorflow. According the facenet github web suggesttion, use r1.7 |
The same. I instal tensorflow 1.7 , it works!!!! Thanks for everyone's advice. |
@QCurry |
I trained a model on my GPU and trying to run validate_lfw there only. |
Thank you @ppwwyyxx! Putting the body of |
Thank you @ppwwyyxx ! Adding a name scope around the entire facenet.create_input_pipeline function also works on tf1.12 |
Thank you @ppwwyyxx ! It works on tf 1.12 |
Yes I can also confirm @ppwwyyxx solution worked on my own installation of tf 1.12 |
Thanks so much @ppwwyyxx ! The solution works on tf 1.13 of my own (virtual env) |
I implemented the solution of @VictorZhang2014 and it work for me, using tensorflow 1.13.1 |
@VictorZhang2014 .. thanks ... it also work foe me.. |
I also implemented the solution of @VictorZhang2014 and it worked for me, using tensorflow 1.12.0, python 2.7 on ubuntu 20 version. |
I am new to the machine learning @davidsandberg
I am trying to run the (Validate_on_lfw .py) in windows but i get this error:
Model directory: pretrained_model
Metagraph file: model-20180402-114759.meta
Checkpoint file: model-20180402-114759.ckpt-275
Traceback (most recent call last):
File "C:\Users\user\Desktop\noor2\project2\facenet-master\facenet-master\src\validate_on_lfw.py", line 166, in
main(parse_arguments(sys.argv[1:]))
File "C:\Users\user\Desktop\noor2\project2\facenet-master\facenet-master\src\validate_on_lfw.py", line 75, in main
facenet.load_model("pretrained_model", input_map=input_map)
File "C:\Users\user\Desktop\noor2\project2\facenet-master\facenet-master\src\facenet.py", line 381, in load_model
saver = tf.train.import_meta_graph(os.path.join(model_exp, meta_file), input_map=input_map)
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 1686, in import_meta_graph
**kwargs)
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\meta_graph.py", line 504, in import_scoped_meta_graph
producer_op_list=producer_op_list)
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\importer.py", line 283, in import_graph_def
raise ValueError('No op named %s in defined operations.' % node.op)
ValueError: No op named DecodeBmp in defined operations.
any help ?
The text was updated successfully, but these errors were encountered: