garyzhao / SemGCN

The Pytorch implementation for "Semantic Graph Convolutional Networks for 3D Human Pose Regression" (CVPR 2019).
https://arxiv.org/abs/1904.03345
Apache License 2.0
468 stars 78 forks source link

main_gcn.py occurs error #26

Open jellyfish1456 opened 4 years ago

jellyfish1456 commented 4 years ago

Hi there~ Thank you for sharing this great work.

when I run main_gcn.py. It occur this error, the code seems correct though.

Below are the error message:

Traceback (most recent call last): File "main_gcn.py", line 22, in from models.sem_gcn import SemGCN File "/home/iis/SemGCN/models/sem_gcn.py", line 48 self.nonlocal = GraphNonLocal(hid_dim, sub_sample=group_size) ^ SyntaxError: invalid syntax

Thank you~

saichanda commented 4 years ago

Hi @christw16, You might find a reference to the error in issue #19

jellyfish1456 commented 4 years ago

@garyzhao @saichanda Hi there~

My python version is: 3.6.10 and I retype the function here. However is still not working....

jellyfish1456 commented 4 years ago

it seems that it is nonLocal keywords problem.