Git Product home page Git Product logo

Comments (6)

Crytap avatar Crytap commented on May 24, 2024 2

@JuliusJacobitz With TF 2.3 everything works without any problems.

from tensorflow-2.x-yolov3.

yugkhanna avatar yugkhanna commented on May 24, 2024

@ZhengzhiLiu are you able to reproduce the same results in terms of speed on your machine? If yes, can you tell me how fast the detect_video is running and what GPU you are using? I am unable to reproduce the quoted results in terms of fps using pretrained yolov4/yolov3 model files

from tensorflow-2.x-yolov3.

albertnew2012 avatar albertnew2012 commented on May 24, 2024

@yugkhanna I was able to reproduce the reported about 20 FPS in the code README.md on both TF2.3 and TF2.4. In order to run the code on TF2.4, you may need to make the changes as I mentioned above. On TF2.4 detect_video runs at 20 FPS on my RTX3080 (only support TF2.4 and above for GPU version)
Screenshot from 2021-11-17 13-53-20
.
Screenshot from 2021-11-17 14-05-48

YOLO tiny is able to run at 55 FPS, but the result is bad, bbox is too small and does not cover the entire object, and sometimes a single object has multiple bboxes, it seems nms failed.
Screenshot from 2021-11-17 14-37-35

from tensorflow-2.x-yolov3.

Crytap avatar Crytap commented on May 24, 2024

@ZhengzhiLiu I also noticed like @yugkhanna that with this fix at detect_video the fps are lower than before.
I have tested with detection_demo and the test.mp4 file.

In comparison (Python 3.7, TF 2.3, GPU: 980ti):
yolo.predict(image_data) i get ~16fps
yolo(image_data) i get ~8fps

Do you have any idea what could be the reason for this?

I also noticed at TF >= 2.4 that when printing pred_bbox in detect_video with yolo.predict(image_data), the bounding boxes contain correct values in the first frame and then consist only of nan.

from tensorflow-2.x-yolov3.

JuliusJacobitz avatar JuliusJacobitz commented on May 24, 2024

I also noticed at TF >= 2.4 that when printing pred_bbox in detect_video with yolo.predict(image_data), the bounding boxes contain correct values in the first frame and then consist only of nan.

@Crytap I'm currently struggling with exactly this problem. Do you have any advice which tf version to use?

from tensorflow-2.x-yolov3.

EVNN304 avatar EVNN304 commented on May 24, 2024

@ZhengzhiLiu Hello. What other changes have you made to increase the frame rate to 21?

from tensorflow-2.x-yolov3.

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.