Code Monkey home page Code Monkey logo

Comments (4)

OpenVINO-dev-contest avatar OpenVINO-dev-contest commented on July 1, 2024

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.

bbartling avatar bbartling commented on July 1, 2024

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.

bbartling avatar bbartling commented on July 1, 2024

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.

OpenVINO-dev-contest avatar OpenVINO-dev-contest commented on July 1, 2024

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.
Screenshot 2022-12-18 at 12-11-51 openvino_notebooks_226-yolov7-optimization ipynb at develop ยท openvinotoolkit_openvino_notebooks

For the issue of kernel down, you can ask for help in yolov7 notebook repo directly.

from yolov7_openvino_cpp-python.

Related Issues (20)

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.