-
Notifications
You must be signed in to change notification settings - Fork 80
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
How to improve performance? #44
Comments
you can resize the input image to a small one at line 103 |
Thanks :) |
That because VGGs, with different layers, downsample the image to the different scales. You need to know which downsample scale is used in the backbone network you chose and edit the 'scale' in line 78. |
make sure you have changed the backbone network. |
you need to make sure that the tensor shape of ground truth and mode output have the same shape. |
I am still suffering from vgg_16 and vgg_a. It seemed that only the vgg_19 can get the same output shape of the ground truth. Maybe I am in the wrong direction. I really wish a smaller network, such as mobile-net. Will it be possible a mobile-net version in the future? |
yes, the shape of each vggs' output is fixed, while you can change the heatmap and paf shape when generating ground truth to match vgg's output shape. you can change that use 'scale' at line 78 in 'train.py'. |
First, thank you for sharing. I tested your pre-trained model on my Linux(GTX 1080), but my fps was about 5. Do you have some ideas to may it real-time? Really appreciate.
The text was updated successfully, but these errors were encountered: