i am using openvino in windows and got stucked after getting IR files of my unet model i dont know what to do in next step , please let me know if anyone could help me.
using Neural compute stick 2
openvino 2021
链接已复制
Hi owaisali,
Thank you for reaching out to us. If possible, could you share additional information regarding the unet model? Is it a self-trained model or an intel model?
Since you already got the IR files, maybe you could run the benchmark app demo to check the model performance on Neural Compute Stick 2. Please refer to the following link:
Regards,
Adli
Hi owaisali,
Have you tried running the script 'plot_openvino_inference_examples.py' as mentioned on point 9 of the GitHub page? The example command:
python plot_openvino_inference_examples.py --device CPU
To infer on NCS 2 stick, please run the following example:
python plot_openvino_inference_examples.py --device MYRIAD
Please note to activate the OpenVINO environment before running the example command. To activate the environment, please run the following command:
source /opt/intel/openvino_2021/bin/setupvars.sh
Regards,
Adli
Hi owaisali,
Have to say it really depends on what do you want to achieve in the end. I suggest that you try to infer your model with the original 'plot_openvino_inference_examples.py' script first. Feel free to post a question if you need help.
Regards,
Adli
Much Obliged to have your reply, actually my aim is to train unet (2D) provided by intel on my dataset and the test it using Myrid NCS 2. In bold words i am really confused in word "inference" meaning here because in the documentation of intel provided unet code they have run inference before converting the files for openvino.
If we can perform inference without IR files then what is the need of IR files here.
Refernce :
https://github.com/IntelAI/unet/tree/master/2D
Regards
Hi owaisali,
For this case, you can perform inference without the IR files, but it is only limited to the Tensorflow framework. To perform inference without IR files, please run the 'plot_tf_inference_examples.py' script. IR files are required to perform inference using the OpenVINO program.
In your case, you want to test your self-trained UNet model using NCS2. The trained model must be converted to IR files first using OpenVINO's Model Optimizer and then load the IR files to the NCS2. Please note that you can't perform inference on NCS2 without the OpenVINO toolkit and the IR files. Please refer to this link: https://docs.openvinotoolkit.org/latest/index.html#packaging_and_deployment
Regards,
Adli
![](/skins/images/01F111D2651B8D490886918A505C4147/responsive_peak/images/icon_anonymous_message.png)