-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realtime performance question #73
Comments
Please set |
Yes, I used pretty much the same settings as #40
This was already done, but thanks for clarifying. I guess you can close the thread if this is on the road map for the future, thanks a lot for your help! |
Hi~ Replace it with the following: mmpose/mmpose/models/detectors/top_down.py Line 256 in 9703521
|
Thanks for reporting @fabro66. Will try this out. |
@fabro66 How many whole post-processing time did u measured for now? |
@jinfagang I did not test the time it takes for post-processing. I just replace cv2.ellipse2Poly with cv2.line to speed up inference. |
@fabro66 Did u able to run realtime with a detector (not from GT boxes). Such as with yolov5 and a pose model. |
@jinfagang It can reach 16fps on a GTX1060 when I combine hrnet_w32_wholebody_256×192_dark and yolov3 (from mmdetection) to estimate whole-body keypoints. |
@fabro66 I tested with yolov5s detector and shufflenetv2 pose on coco, the speed is about 7fps in 2 person on GTX1080ti. What's the reason why it's slow? |
If you have interest, please try to profile it and post the result, something like #344 (comment) |
@innerlee I dont know how to using cprofile. Did u guys get same performance when test a normal video with more than 2 person in it? |
1 similar comment
@innerlee I dont know how to using cprofile. Did u guys get same performance when test a normal video with more than 2 person in it? |
Step1. use cProfile to run the script for a period of time, say, 30 seconds. Refer to the instruction in #73 (comment) for more details |
@innerlee thanks. Do u have any insights about it? |
Please click on the shared_transform.py, and it should print more details on the bottom level. Crop the image is not what I meant |
@innerlee ok..... |
@jinfagang If you haven't deleted the profiling record, please post the result so that the bottleneck is visualized |
@jinfagang Can you please share the config file for yolov5 for mmdet_model. I trained a yolov5s model independently and I want to use it as a detection model for pose estimation inference but I am having difficulties modifying the config file. |
@haseeb33 you can take a look at this repo: https://github.com/jinfagang/yolov7 it provides various yolo model with pure python instead yaml config files. Also support a e2e keypoints model |
@jinfagang Thank you very much! |
Hello and first of all thanks for the great tool you have built.
I wanted to ask some questions, I run the pretrained model on a 1080 ti on a realtime video and obtain so-so performances :
res50_coco_256x192: 12 FPS
mobilenetv2_coco_256x192: 15 FPS
Am I missing something or is it just that the GPU isn't strong enough. Thanks!
The text was updated successfully, but these errors were encountered: