ZhouYuxuanYX / BlockGCN

This is the official implementation of our CVPR 2024 paper "BlockGCN: Redefine Topology Awareness for Skeleton-Based Action Recognition"
Apache License 2.0
66 stars 9 forks source link

code problem #6

Closed zhaokaipan closed 5 months ago

zhaokaipan commented 5 months ago

why the code can not be runned
and it lacks someting musted

ZhouYuxuanYX commented 5 months ago

If it's some environment issue, you should be able to handle it yourself. Otherwise your issue should be explicitly described here.

ZhouYuxuanYX commented 5 months ago

This issue is not explicit enough to respond to.

ZhouYuxuanYX commented 5 months ago

Hi,

sorry for the late reply. The UCLA dataset only contains one person, while NTU datasets assume a maximum number of two people. So NTU data has an additional dimension with size 2, and our topological analysis has to be adapted to such a dimension difference. In line 312-315, the solution is provided in the comments:

for ntu, two people at the same frame

    x = x.repeat(2,1)
    # for ucla, one person only
    #x = x

Could you please reopen an issue and ask this in Github, so that I can also provide the answer there to avoid similar questions?

Best, Yuxuan

On Mon, 27 May 2024 at 12:45, zhaokaipan @.***> wrote:

ea478345331a12c665f76061de1e0b9.png (view on web) https://github.com/ZhouYuxuanYX/BlockGCN/assets/56015270/13d8ccb9-8986-4dee-bdf7-bd1ed25a8ad0 This situation occurs when training data, do you know how to solve it?

— Reply to this email directly, view it on GitHub https://github.com/ZhouYuxuanYX/BlockGCN/issues/6#issuecomment-2133203185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOZHLAM6KAD3UFPFFZWN63ZEMFDRAVCNFSM6AAAAABIJNTIUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGIYDGMJYGU . You are receiving this because you commented.Message ID: @.***>

zhaokaipan commented 5 months ago

感谢您的回复,我是在GitHub上给您提的问题,可能是自动发的邮件,这个关于ucla的部分我注意到了,所以我在这个问题下面删除了我之前的提问,十分感谢您的回复!

ZhouYuxuanYX commented 5 months ago

好的,麻烦您重新提交一下删除的问题呗,这样以后其他人要是也遇到同样问题就可以参考,谢谢

zhaokaipan @.***>于2024年6月6日 周四上午8:53写道:

感谢您的回复,我是在GitHub上给您提的问题,可能是自动发的邮件,这个关于ucla的部分我注意到了,所以我在这个问题下面删除了我之前的提问,十分感谢您的回复!

— Reply to this email directly, view it on GitHub https://github.com/ZhouYuxuanYX/BlockGCN/issues/6#issuecomment-2151537590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOZHLFXGBSQPBVFTJ4OFULZGABP3AVCNFSM6AAAAABIJNTIUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRGUZTONJZGA . You are receiving this because you modified the open/close state.Message ID: @.***>

zhaokaipan commented 5 months ago

好的,我将重新提交一个新的问题,来描述之前的问题,十分感谢您的回复!