Git Product home page Git Product logo

smart-video-workshop's Introduction

Optimized Inference at the Edge with Intel® Tools and Technologies

This workshop will walk you through the workflow using Intel® Distribution of OpenVINO™ toolkit for inferencing deep learning algorithms that help accelerate vision, automatic speech recognition, natural language processing, recommendation systems and many other applications. You will learn how to optimize and improve performance with or without external accelerators and utilize tools to help you identify the best hardware configuration for your needs. This workshop will also outline the various frameworks and topologies supported by Intel® Distribution of OpenVINO™ toolkit.

⚠️ Labs of this workshop have been validated with Intel® Distribution of OpenVINO™ toolkit 2021.3 (openvino_toolkit_2021.3.394). Some of the videos shown below is based on OpenVINO 2021.2, might be slightly different from the slides, but the content is largely the same. FPGA plugin will no longer be supported by the OpenVINO stardard release, you can find the FPGA content from earlier branches.

Workshop Agenda

Further Reading Materials

Disclaimer

Intel and the Intel logo are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries.

*Other names and brands may be claimed as the property of others

smart-video-workshop's People

Contributors

abhinavintel avatar abhinavsrinet avatar agnathan avatar alaa-eltablawy avatar ianxsmith avatar iotman avatar meshaun9 avatar pooja-b avatar priyanka-bagade avatar vagheshp avatar yexin1986 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smart-video-workshop's Issues

Issue running tutoriall1.py

Hello,

I am trying to reproduce the first tutorial in object detection. I get to the point of running

sudo python3 tutorial1.py -i $SV/object-detection/Cars\ -\ 1900.mp4 -m $SV/object-detection/mobilenet-ssd/FP32/mobilenet-ssd.xml

and get an error: ModuleNotFoundError: No module named 'openvino'

In line 25 of tutoriall1.py there is a 'from openvino.inference_engine ...' command which is not recognised. I have OpenVINO running in my mac and I had initialised the openvino variables.

Could you help me with this?

Thank you,

Veronica.

Customer Layers CMakeLists.txt tbb/tbb_scheduler.h Error Fix

In CMakeLists.txt file line 49:

"/opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/external/tbb/include"

TBB include is constrained with version number, fails to build and harder to validate for new versions.

Better to change : "/opt/intel/openvino/deployment_tools/inference_engine/external/tbb/include"

Tensorflow Object Detection Custom Object model conversion into IR(OpenVINO)

Hi

Trained SSD_MOBILENET_V2 for two new classes taking pre trained weights of SSD_MOBILENT_v2 from tensorflow zoo.
Problem statement : Able to convert pre trained models into IR(xml and bin) using mo_tf.py. But, not able to convert the model we have trained for. Can you please help us to solve the problem.

Cannot make shared blob.

@priyanka-bagade I am successfully run with the security_barrier_camera_demo. But at the time of interactive_face_detection_demo I am getting the error message like

[ ERROR ] Cannot make shared blob! The blob type cannot be used to store objects of current precision

Can you please help me to solve the problem.

mo_tf.exe error

I use below command to convert .pb file to .xml and bin file.
"python mo_tf.py --input_model frozen_inference_graph.pb"
The frozen_inference_graph.pb file is download pretrain model of faster_rcnn_inception_v2_coco.
It show below error message:

WARNING: Logging before flag parsing goes to stderr.
E0918 18:03:22.582442 11896 infer.py:160] Shape [-1 -1 -1 3] is not fully defin
ed for output 0 of "image_tensor". Use --input_shape with positive integers to o
verride model input shapes.
E0918 18:03:22.582442 11896 infer.py:180] Cannot infer shapes or values for node
"image_tensor".
E0918 18:03:22.582442 11896 infer.py:181] Not all output shapes were inferred or
fully defined for node "image_tensor".
For more information please refer to Model Optimizer FAQ (https://docs.openvino
toolkit.org/latest/_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html), question
#40.
E0918 18:03:22.582442 11896 infer.py:182]
E0918 18:03:22.583442 11896 infer.py:183] It can happen due to bug in custom sha
pe infer function <function Parameter.init.. at 0x000000003B
AEC158>.
E0918 18:03:22.583442 11896 infer.py:184] Or because the node inputs have incorr
ect values/shapes.
E0918 18:03:22.583442 11896 infer.py:185] Or because input shapes are incorrect
(embedded to the model or passed via --input_shape).
E0918 18:03:22.589442 11896 infer.py:194] Run Model Optimizer with --log_level=D
EBUG for more information.
E0918 18:03:22.589442 11896 main.py:307] Exception occurred during running repla
cer "REPLACEMENT_ID" (<class 'extensions.middle.PartialInfer.PartialInfer'>): St
opped shape/value propagation at "image_tensor" node.
For more information please refer to Model Optimizer FAQ (https://docs.openvino

what's wrong ?

What is OPENVINO?

What is the original statement of OPENVINO?

Does OPENVINO mean "OPEN Vision Inference Neural-network Optimization"?

sqeezenet_ssd.caffemodel does not exist

in Part 1 of the object detection example, the following line does not work:

python3 mo_caffe.py --input_model $SV/object-detection/models/sqeeznet_ssd/squeezenet_ssd.caffemodel -o $SV/object-detection/models/sqeeznet_ssd/

because the file sqeezenet_ssd.caffemodel cannot be found.

Error while trying to use the optimizer for tensorflow

I am trying to use the optimizer to create an optimized IR using the following command.

sudo python3 mo_tf.py --input_model ~/Downloads/ssd_inception_v2.pb -o $SV/object-detection/inception_v2-ssd/FP32 --scale 256 --mean_values [127,127,127]

I got the following Error. I tried another tensor flow model and got the same error.

[ ERROR ] -------------------------------------------------
[ ERROR ] ----------------- INTERNAL ERROR ----------------
[ ERROR ] Unexpected exception happened.
[ ERROR ] Please contact Model Optimizer developers and forward the following information:
[ ERROR ] Graph contains a cycle.
[ ERROR ] Traceback (most recent call last):
File "/opt/intel/computer_vision_sdk_2018.1.249/deployment_tools/model_optimizer/mo/main.py", line 222, in main
return driver(argv)
File "/opt/intel/computer_vision_sdk_2018.1.249/deployment_tools/model_optimizer/mo/main.py", line 190, in driver
mean_scale_values=mean_scale)
File "/opt/intel/computer_vision_sdk_2018.1.249/deployment_tools/model_optimizer/mo/pipeline/tf.py", line 141, in tf2nx
partial_infer(graph)
File "/opt/intel/computer_vision_sdk_2018.1.249/deployment_tools/model_optimizer/mo/middle/passes/infer.py", line 55, in partial_infer
nodes = nx.topological_sort(graph)
File "/home/ubuntu/.local/lib/python3.5/site-packages/networkx/algorithms/dag.py", line 157, in topological_sort
raise nx.NetworkXUnfeasible("Graph contains a cycle.")
networkx.exception.NetworkXUnfeasible: Graph contains a cycle.

[ ERROR ] ---------------- END OF BUG REPORT --------------
[ ERROR ] -------------------------------------------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.