mtcnn_facenet_cpp_tensorRT icon indicating copy to clipboard operation
mtcnn_facenet_cpp_tensorRT copied to clipboard

Inference over Facenet makes different results on Jetson Nano and dGPU

Open IsraelLencina opened this issue 3 years ago • 6 comments

Hi, i'm using this repo from a laptop with TensorRT (it's TensorRT 20.03 docker image), and also from a Jetson, the code works without problems in Jetson, the detections are OK this is in expected values. But when i execute this repo on my own laptop, it return values between 500 and 1000 do you know why is it?

IsraelLencina avatar Jul 02 '21 12:07 IsraelLencina

Hi, i'm using this repo from a laptop with TensorRT (it's TensorRT 20.03 docker image), and also from a Jetson, the code works without problems in Jetson, the detections are OK this is in expected values. But when i execute this repo on my own laptop, it return values between 500 and 1000 do you know why is it?

Hi, 500 and 1000 are values of what? kindly eleborate.

shubham-shahh avatar Jul 07 '21 04:07 shubham-shahh

@shubham-shahh I think these are the embeddings.

@IsraelLencina I am also trying to reproduce this setup on dgpu, facing saveral issues.

  • h5 to pb conversion

imSrbh avatar Jul 08 '21 04:07 imSrbh

Yes, it's embeddings, i've seen that the change is after the inference.

IsraelLencina avatar Jul 20 '21 11:07 IsraelLencina

Hi again, i've seen in NOTES section that .uff and .engine are GPU specific, i've tried to generate everything from step 3 (as you say in NOTES section) but the "GPU embeddings" are still in values bigger than "Jetson embeddings".

IsraelLencina avatar Sep 03 '21 08:09 IsraelLencina

Hi again, i've seen in NOTES section that .uff and .engine are GPU specific, i've tried to generate everything from step 3 (as you say in NOTES section) but the "GPU embeddings" are still in values bigger than "Jetson embeddings".

are you referring to the master branch or develop branch?

shubham-shahh avatar Sep 03 '21 08:09 shubham-shahh

Always master

IsraelLencina avatar Sep 03 '21 09:09 IsraelLencina