SemGCN icon indicating copy to clipboard operation
SemGCN copied to clipboard

main_gcn.py occurs error

Open jellyfish1456 opened this issue 3 years ago • 3 comments

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~

jellyfish1456 avatar Aug 05 '20 07:08 jellyfish1456

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

saichanda avatar Aug 06 '20 02:08 saichanda

@garyzhao @saichanda Hi there~

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

jellyfish1456 avatar Aug 06 '20 03:08 jellyfish1456

it seems that it is nonLocal keywords problem.

jellyfish1456 avatar Aug 06 '20 03:08 jellyfish1456