inria-thoth / GraphiT

Official Pytorch Implementation of GraphiT
103 stars 12 forks source link

how to use multi-dimensional edge attribute #1

Open Byun-jinyoung opened 2 years ago

Byun-jinyoung commented 2 years ago

Dear authors, I'm a bit new to deep-learning and transformer chemist. I've read the GraphiT paper and followed the code in this repository. What I want is to use diffusion kernel with both symmetric and multi-dimensional edge attribute. But it cause problem when the positional encoding. Below is example of my data shape with batch DataBatch(x=[267967, 40], edge_index=[2, 932790], edge_attr=[932790, 2], y=[50], pos=[267967, 3], batch=[267967], ptr=[51]) How can I solve this problem?

Best regards :) Thank you

qwerasad commented 2 months ago

@Byun-jinyoung 您好,我在运行GraphiT时,出现了pe为None这个问题,您当时运行成功了吗?请问是如何解决的?谢谢您