- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have a Tensorflow based siamese triplet loss model for face recognition. We converted the model to openvino. But don't how to use it for inference.
The python model looks like this:
siamese_network.layers
[<keras.engine.input_layer.InputLayer at 0x7fa0103ba350>, <keras.engine.input_layer.InputLayer at 0x7f9ff85278d0>, <keras.engine.input_layer.InputLayer at 0x7fa006573890>, <keras.engine.functional.Functional at 0x7fa06fddf0d0>]
We then use it for inference as follows using the "Functional" layer:
face_embeddings = siamese_network.layers[-1]
emb = face_embeddings.predict(np.expand_dims(image,axis=0))
We would like to use the openvino model similarly. Please help.
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dayax,
Thank you for reaching out to us.
OpenVINO™ toolkit provides various types of learning materials that you may find useful. You can check out the Interactive Tutorials (Python) to help introduce you on how to use the OpenVINO™ toolkit Python API and tools to optimize deep learning inference. For more information on the APIs, you can refer to the OpenVINO Python API page for detailed reference articles on OpenVINO™ toolkit Python APIs.
On the other hand, there are also Python Open Model Zoo Demos which are console applications that provide templates to implement inference scenarios and also show you preprocessing and post-processing data for model inference and organizing processing pipelines. Do note that the demos are validated by specific models only. However, you can use both the tutorials and the demos as guides to help you implement your own code based on your needs.
Based on your desired inference description, we recommend checking out these Tutorials and Demos to help you with OpenVINO™ toolkit:
- Face Recognition Python* Demo
- Object Detection Python* Demo
- Vehicle Detection And Recognition with OpenVINO™
- Hello Object Detection
- Live Object Detection with OpenVINO™
Regards,
Megat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dayax,
Thank you for your question. This thread will no longer be monitored since we have provided suggestions. If you need additional information from Intel, please submit a new question.
Regards,
Megat
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page