Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Python - object-detection module #20

Closed
wants to merge 2 commits into from

Conversation

patrabax
Copy link
Collaborator

  • Python version of object detection module.
  • Validated on UP2 board

Test logs:

intel@intel-UP-APL01-Invalid-entry-length-0-DMI-table-is-broken-Stop:/opt/intel/workshop/smart-video-workshop/object-detection$ python3 tutorial1.py -i $SV/object-detection/Cars\ -\ 1900.mp4 -m $SV/object-detection/mobilenet-ssd/FP32/mobilenet-ssd.xml -d GPU
[ INFO ] Initializing plugin for GPU device...
[ INFO ] Reading IR...
tutorial1.py:81: DeprecationWarning: from_ir() method of IENetwork is deprecated. Please use IENetwork class constructor to create valid IENetwork instance
  net = IENetwork.from_ir(model=model_xml, weights=model_bin)
[ INFO ] Loading IR to the plugin...
inputdims= 300 300 3 1
outputdims= 7 100 1 1
SSD Mode
[ INFO ] Starting inference in async mode...
framenum:256

Preprocess:  33.45177974551916 	ms/frame
Inference:   41.07085056602955 	ms/frame
Postprocess: 5.898961761118373 	ms/frame
intel@intel-UP-APL01-Invalid-entry-length-0-DMI-table-is-broken-Stop:/opt/intel/workshop/smart-video-workshop/object-detection$ python3 tutorial1.py -i $SV/object-detection/Cars\ -\ 1900.mp4 -m $SV/object-detection/mobilenet-ssd/FP32/mobilenet-ssd.xml -d CPU
[ INFO ] Initializing plugin for CPU device...
[ INFO ] Reading IR...
tutorial1.py:81: DeprecationWarning: from_ir() method of IENetwork is deprecated. Please use IENetwork class constructor to create valid IENetwork instance
  net = IENetwork.from_ir(model=model_xml, weights=model_bin)
[ INFO ] Loading IR to the plugin...
inputdims= 300 300 3 1
outputdims= 7 100 1 1
SSD Mode
[ INFO ] Starting inference in async mode...
framenum:256

Preprocess:  33.17342698574066 	ms/frame
Inference:   289.59481976926327 	ms/frame
Postprocess: 2.705991500082647 	ms/frame
intel@intel-UP-APL01-Invalid-entry-length-0-DMI-table-is-broken-Stop:/opt/intel/workshop/smart-video-workshop/object-detection$ python3 tutorial1.py -i $SV/object-detection/Cars\ -\ 1900.mp4 -m $SV/object-detection/mobilenet-ssd/FP32/mobilenet-ssd.xml 
[ INFO ] Initializing plugin for CPU device...
[ INFO ] Reading IR...
tutorial1.py:81: DeprecationWarning: from_ir() method of IENetwork is deprecated. Please use IENetwork class constructor to create valid IENetwork instance
  net = IENetwork.from_ir(model=model_xml, weights=model_bin)
[ INFO ] Loading IR to the plugin...
inputdims= 300 300 3 1
outputdims= 7 100 1 1
SSD Mode
[ INFO ] Starting inference in async mode...
framenum:256

Preprocess:  33.457678742706776 	ms/frame
Inference:   288.2350189611316 	ms/frame
Postprocess: 2.4565982447524015 	ms/frame

@patrabax patrabax changed the title Python version of object detection module Python - object-detection module Jan 9, 2019
@patrabax
Copy link
Collaborator Author

patrabax commented Feb 5, 2019

Combined the pull request with below:
#22

@patrabax patrabax closed this Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants