AIInAi / tf-insightface

A better tensorflow implementation of deepinsight, aiming at smoothly production ready for cross-platforms. Currently only with inference, training code later.
MIT License
212 stars 61 forks source link

The same picture gets different embedding when running python apps/example.py #14

Closed sherwinkh closed 5 years ago

sherwinkh commented 5 years ago

The same picture got different embeddings: /home/ljzxb/Face/work/tf-insightface/tests/test.jpg 2019-06-13 16:16:39.309603: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3392255000 Hz 2019-06-13 16:16:39.310446: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0xe142230 executing computations on platform Host. Devices: 2019-06-13 16:16:39.310474: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): , [Base Server] Running inference... 512-D Features are [array([[-1.31861782e+01, 4.17565298e+00, 3.12116261e+01,

root@ljzxb-To-be-filled-by-O-E-M:/home/ljzxb/Face/work/tf-insightface# python apps/example.py /home/ljzxb/Face/work/tf-insightface/tests/test.jpg 2019-06-13 16:17:50.569635: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3392255000 Hz 2019-06-13 16:17:50.570395: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x16103f0 executing computations on platform Host. Devices: 2019-06-13 16:17:50.570429: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): , [Base Server] Running inference... 512-D Features are [array([[ 15.215302 , 16.936035 , 43.160233 , 8.574103 ,

leikunx commented 5 years ago

I have same question, do you solve it?

leikunx commented 5 years ago

@sherwinkh I solve it, change argument dropout_rate from 0.5 to 1, which locate at example.py line 11

sherwinkh commented 5 years ago

@StevenLei2017 Thank you for your information.