understand_facenet icon indicating copy to clipboard operation
understand_facenet copied to clipboard

Did you successfully run the file "validate_on_lfw.py"

Open pluie opened this issue 6 years ago • 3 comments

I got problem when run it. Sad... ValueError: Input 0 of node cross_entropy_per_example/Shape was passed int32 from batch_join:1 incompatible with expected int64.

pluie avatar Jul 10 '18 01:07 pluie

Hi!I have encountered a problem similar to yours, the error is TypeError: Cannot convert a tensor of type int32 to an input of type int64, and finally I solved the problem, I hope to help you. The solution is because using a model that is too old leads to incompatibility, using the latest model.

sumenpuyuan avatar Jul 12 '18 04:07 sumenpuyuan

目前还没有,最近比较忙,等我有空看一下

boyliwensheng avatar Aug 28 '18 08:08 boyliwensheng

parser.add_argument('--lfw_pairs', type=str,
      help='The file containing the pairs to use for validation.', default='data/pairs.txt')

This code in "validate_on_lfw.py" line 84.Here need file /facenet/data/pairs.txt , and not find here,you can find in https://github.com/davidsandberg/facenet

alouhaha avatar Oct 12 '18 03:10 alouhaha