Comments (4)
Hi @bbartling does this issue happen only on V7 or both on V7 and Tiny ? I can try it later with my webcam.
For model quantization part, one thing I must mention is the postprocess part of YOLOv7 model network in OpenVINO notebook example is a little different from the model in this repo. I believe the 3 outputs of model in notebook have been consolidated as one, so you have to modify your script accordingly. and you can also use Netron to find their difference.
from yolov7_openvino_cpp-python.
Hi Ethan, so the Yolov7 (non Tiny) works really well at classifying people from any angle....by far exceeds any model I've ever tested which is quite a few from the pyimagesearch caffee models as well as all the pretrained openVINO models for people/pedestrians. Problem is it just runs slow especially on CPU but for a conference room application 1-2 FPS is just fine as people dont move very fast when they are sitting : )
It seems like the Tiny Yolov7 reminds of about the same performance as the pretrained openVINO models for people/pedestrians, like some angles of the person the model performs very poor and when charted on a Grafana time series chart over time the graph is very jumpy....like it cannot be used to control purposes.
Ill experiment with the Yolov7 quantization, getting the code to run real curious to put this thru its paces.
from yolov7_openvino_cpp-python.
Any chance would you be able to elaborate where in the Yolo v7 optimization notebook on how to:
I believe the 3 outputs of model in notebook have been consolidated as one, so you have to modify your script accordingly. and you can also use Netron to find their difference.
On Ubuntu I can get down to here and eventually the kernel just dies....
mp, mr, map50, map, maps, num_images, labels = test(data=data, model=compiled_model, dataloader=dataloader, names=NAMES)
# Print results
s = ('%20s' + '%12s' * 6) % ('Class', 'Images', 'Labels', 'Precision', 'Recall', '[email protected]', '[email protected]:.95')
print(s)
pf = '%20s' + '%12i' * 2 + '%12.3g' * 4 # print format
print(pf % ('all', num_images, labels, mp, mr, map50, map))
Any tips to try if you have the time greatly appreciated : )
from yolov7_openvino_cpp-python.
hi @bbartling , After you get a quantized model according to the guild in yolov7 notebook, you can switch the post processing part of this repo to which in yolov7 notebook sample, or just use the inference code in notebook sample, not this repo.
For the issue of kernel down, you can ask for help in yolov7 notebook repo directly.
from yolov7_openvino_cpp-python.
Related Issues (20)
- Link not working HOT 1
- any support for --grid parameter while exporting .onnx model? HOT 24
- [Bug] The line `img.transpose(2, 0, 1)` should be `img = img.transpose(2, 0, 1)`. NumPy's transpose operation does not support in-place assignment. HOT 1
- output processing is slow HOT 24
- adding tracker deepsort/sort (int 8 or openvo ir ) to object detection .onnx file or .int8 format file HOT 31
- fps code is not working HOT 2
- float data1[img_h*img_w*3] compile error HOT 1
- Inference with 1280 images HOT 4
- fps im getting is varing too much
- Yolov7-seg support HOT 2
- Downloading Yolo7 modex HOT 4
- hardware to run HOT 4
- Process multiple video feeds ansyc HOT 5
- Python Run Issue
- c++ has encountered an error HOT 1
- getting setup HOT 11
- webcam.py HOT 13
- 4 anchor boxes instead of 3 HOT 1
- YOLOv7 with Multiple Object Tracker - SORT Algorithm HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov7_openvino_cpp-python.