limengran98 / HGTN

The codes of Hpyergraph Transformer Nerual Networks.
16 stars 7 forks source link

作者你好, 请问代码中为什么找不到GAT? #2

Open thatsShirleyLee opened 1 year ago

thatsShirleyLee commented 1 year ago

报错如下;

Traceback (most recent call last): File "D:\Learn\PycharmProjects\Meta-path\HGTN\main.py", line 354, in model = HGTN(type_hyperedge=A.shape[-1], File "D:\Learn\PycharmProjects\Meta-path\HGTN\HGTN.py", line 59, in init self.gat = GAT(self.w_in,self.nhid,self.num_class,self.drpoput ,self.alpha ,self.nheads) NameError: name 'GAT' is not defined

limengran98 commented 5 months ago

Hello, you can delete this line. The source code has been fixed.