taliq / TEA-graph

First commit
MIT License
58 stars 12 forks source link

About data_origin.pos #8

Open ljhOfGithub opened 11 months ago

ljhOfGithub commented 11 months ago

I think you may forget to release the data_origin.pos code in the supernode_generation.py file, and so that the later process can't be continued. Could you please fix the bug? https://github.com/taliq/TEA-graph/blob/56cc31b86e82e78791c2915af74463d9fd50cbb4/Superpatch_network_construction/supernode_generation.py#L405 This way, I guess the data must conclude pos information. How could I get the right data object? I want to use the following code: pos = torch.tensor(coordinate_integrate, dtype=torch.float) data = Data(x=x, edge_index=edge_index, pos=pos) Did you deal with it similarly?

MUYI-XIAN commented 8 months ago

i can`t run the whole program,if i run main.py,i will take an error--ZeroDivisionError: No admissable pairs in the dataset.