Code Monkey home page Code Monkey logo

Comments (7)

PiyalGeorge avatar PiyalGeorge commented on May 18, 2024 1

@GeekAlexis Thanks a lot. Will try that.

I tried your repo in Xavier-NX. It works like charm with Good FPS and accuracy! Good job

from fastmot.

parthjdoshi avatar parthjdoshi commented on May 18, 2024

I am sorry. I found my mistake. The tiny model had only been trained on 80 classes, not 90, so my NUM_CLASSES setting was incorrect.

By the way, I am getting speeds of around 16 FPS with only 4-5 objects onscreen. I am using a Jetson Nano. Is it possible to optimize this further and get it closer to 30 FPS?

Once again, thank you for the great work.

from fastmot.

parthjdoshi avatar parthjdoshi commented on May 18, 2024

The detections using YOLOv4-tiny are quite poor as well. I am only able to detect 1 out of several people in the video, and even that was a partial bounding box, not a complete one. Is there any way to improve this?

from fastmot.

GeekAlexis avatar GeekAlexis commented on May 18, 2024

@arsenal-2004 Yes there are a few things you can do to optimize:

  1. Train your YOLOv4-tiny on a pedestrian dataset. The pre-trained COCO model performs poorly on small objects.
  2. Use a smaller batch size like 8 for feature extractor and/or get a faster ReID model like MobileNetv2.
  3. Disable feature extractor. This requires modifying the code a little bit.

FYI, Jetson Nano is too constrained for an involved task like this. If you want it real-time on Nano, expect to see a performance drop.

from fastmot.

parthjdoshi avatar parthjdoshi commented on May 18, 2024

@GeekAlexis Thank you so much for your reply. I'll try out your suggestions and see if the performance improves.

from fastmot.

PiyalGeorge avatar PiyalGeorge commented on May 18, 2024

@GeekAlexis , I was also trying to implement YOLOv4-Tiny in Xavier-NX. I have a Yolov4-Tiny trained with one class. I have converted this model to onnx and TensorRT using the link you have mentioned - https://github.com/jkjung-avt/tensorrt_demos

My doubt is, Do i need to train a ReID model also on the same class to implement tracking? If yes, is there any specific steps for yolov4-tiny?

from fastmot.

GeekAlexis avatar GeekAlexis commented on May 18, 2024

@PiyalGeorge Yes, you need to train a ReID model on the same class, assuming the class is not person. And there is nothing specific for tiny because ReID is independent of detector. FYI, you shouldn't convert YOLO to TensorRT, converting to ONNX is enough.

from fastmot.

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.