Comments (6)
@JuliusJacobitz With TF 2.3 everything works without any problems.
from tensorflow-2.x-yolov3.
@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.
@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)
.
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.
from tensorflow-2.x-yolov3.
@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.
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.
@ZhengzhiLiu Hello. What other changes have you made to increase the frame rate to 21?
from tensorflow-2.x-yolov3.
Related Issues (20)
- How can I convert custom .data-00000-of-00001 and .index file to normal .weight and cfg file?
- problems during inference when using converted tflite model HOT 1
- convert .weights to .pb error
- Do not work out trained weights in Ubuntu on Windows. Windows 10, Cuda 11.2, cudnn 8.1 rtx 3060 HOT 1
- Yolov4 model size increased after TRT conversion HOT 1
- Batch shuffle
- No kernel image is available for execution on the device (For GTX 750ti)
- Value error is raised when working this code for yolo v4 object detection
- how to run in cpu model , I do not have a GPU ?
- Training in multiple GPUs HOT 3
- Invalid boxes in training time HOT 1
- nan value in evaluate_mAP.py HOT 1
- Ap is always equal to zero HOT 1
- refactoring
- model 'loses' weights after one prediction HOT 3
- How to use custom data (.weight, .names, .cfg file)
- Converted Model (SavedModel) works only on CPU
- No such file or directory: 'model_data/yolov3.weights'
- Val loss increases after 13 epochs HOT 4
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 tensorflow-2.x-yolov3.