pengwei-iie / GLHG

8 stars 1 forks source link

你好,现在的代码貌似不是最终版? #5

Open LLLiu-1220 opened 9 months ago

LLLiu-1220 commented 9 months ago

如题,作者你好,我阅读代码并试运行后发现代码貌似没有实现中间的图交互部分,请问可否更新代码版本呢?或者如果这个版本有实现的话可以指出GAT的代码段在哪里吗? 万分感谢!

YeQiuO commented 8 months ago

同问

self.graph = GraphNetwork(2*config.D, config.classes, config.relations, config.max_seq_len, config.graph_hidden_size) 被注释,也没有详细代码

看论文没有提到图的层数,想来代码里看看,结果发现代码里根本没有图网络层 :(

YeQiuO commented 8 months ago

image 原文中关键代码全部注释删除了

YeQiuO commented 8 months ago

代码传没传?

如传

YeQiuO commented 8 months ago

我也在做ESC相关,想水一篇毕业,加个好友交流下?

最近看了好多ESC开源代码的论文,感觉真心想开源的人很少,大都为了开源而开源,类似于ESConv的优质开源代码根本没有...

YeQiuO commented 8 months ago

图网络代码估摸使用开源的 https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html

我的拙见,论文的创新点在于在Encoder和Decoder之间加了一层 GCNConv

YeQiuO commented 8 months ago

GAT 图神经网络代码如下

https://github.com/PetarV-/GAT/blob/master/models/gat.py