Skip to content
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 set up HRNet-w32 of the TCE inference module? #12

Closed
0shelter0 opened this issue Dec 28, 2021 · 3 comments
Closed

How to set up HRNet-w32 of the TCE inference module? #12

0shelter0 opened this issue Dec 28, 2021 · 3 comments

Comments

@0shelter0
Copy link

0shelter0 commented Dec 28, 2021

Hi, thanks for your sharing code of Learning Visual Context for Group Activity Recognition. But I get into a trouble with failing to from hrnet.init_hrnet import cls_hrnet_w32, pose_hrnet_w32 as shown in infer_module/TCE_STBiP_module.py. Could you give me some help to solve it?

Additionally, I have another confusion. The construction and usage of HRNet-w32 in your code as follows:

# consturction
if pose_net == 'pose_hrnet_w32':
            self.encoder = pose_hrnet_w32(pretrained=True)


# usage
roi_image = roi_image.cuda()
#print(roi_image.shape) #torch.Size([72, 3, 256, 192])
roi_pose_feature = self.encoder(roi_image)

As known, the HRNet-w32 output heatmaps at final_layer containing information of all keypoints. However, you get individual features of $d_e$-dimension from HRNet-w32 finally as mentioned in paper, so I want to know how you convert the heatmaps to a feature vector of $d_e$-dimension for $i$-th person(or bounding box) at certain frame.

I hope to hear from you. Thank you in advance!

Regard

@0shelter0
Copy link
Author

Hello, could you make your TCE_STBiP_module fully available? We will thank your for providing entire project master of paper Learning Visual Context for Group Activity Recognition.

Thanks for your contribution to this area.

@JacobYuan7
Copy link
Owner

Hello, could you make your TCE_STBiP_module fully available? We will thank your for providing entire project master of paper Learning Visual Context for Group Activity Recognition.

Thanks for your contribution to this area.

I am sorry that I missed this question somehow. The codes for TCE and STBiP were available under infer_modules.

@0shelter0
Copy link
Author

Thank you all the time, don't be serious for this, I will try my best to make it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants