-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Error building DATASET and print heatmaps annotations in PoseC3D #2560
Comments
Hello @cir7, same problem here. Do you have any update on this? Thank you! |
Could you share the config file you are using for training? And are you using a custom dataset? |
Hi @cir7, thank you for the answer. I use this config file, but I changed the numbers of workers to 2 and the batch size to 1 in dataloaders. I made this configurations for one GPU in Colab like the tutorial. And, I use the same .pkl file ntu60_2d.pkl. |
Ok, I found that the heatmap you got is reasonable. PoseC3D uses a special heatmap annotation, which maps the keypoints to an all-zero image according to the spatial coordinates, so most values of the input are zeros, except for the keypoints, this visualization shows the sparsity. You could refer to the paper for mode details. While the general 3D models take rgb images as input, which has a mean value of 128. |
Thanks for the reply @cir7. I check the output and I have the keypoints (non-zero data). But, if I only want the heatmap annotations, is it correct to print with Another question, when I print the shape of the dataset with |
|
Thanks @cir7 for the answers. You solved my doubts! |
Branch
main branch (1.x version, such as
v1.0.0
, ordev-1.x
branch)Prerequisite
Environment
I have this versions:
Describe the bug
Hi, I have a problem when I am building datasets in PoseC3D.
First, I did the steps according to the tutorial , but I want to print only heatmaps annotations.
Reproduces the problem - code sample
I run:
Reproduces the problem - command or script
No response
Reproduces the problem - error message
When I run those commands with config tsn_imagenet-pretrained-r50_8xb32-1x1x3-100e_kinetics400-rgb.py, I have results resized and not empty.
But when I run with config slowonly_r50_8xb16-u48-240e_ntu60-xsub-keypoint.py, I only have zeros. Also, when I train, I only have zeros too.
Additional information
Thank you for the answers.
The text was updated successfully, but these errors were encountered: