Open skye95git opened 2 years ago
there is an error
The 'data' object was created by an older version of PyG. If this error occurred while loading an already existing dataset, remove the 'processed/' directory in the dataset's root folder and try again.
I have the same problem, have you solved it? Thanks a lot.
Thank you for this awesome work. I have a few question about the graph data.
The data stored in Baidu's web disk is Graph representation. How can I get the raw data of code graph and text graph?
How do you get the code graph from source code? Do you have any plans to open source of generating graph code? The code you give in other answers seems to get the tree from the graph: https://github.com/IBM/Graph2Tree
The
SampledDatasets/java/code_processed/code_100000.pt
save each graph representation withtorch_geometric.data.Data
(PyTorch_Geometric). How do you get each graph representation withtorch_geometric.data.Data
(PyTorch_Geometric)? As far as know, constructing a graph using torch_geometric.data. data requires specifying node featurex
. How do you set node featurex
for token in AST? Whether the code generated code.pt is easy to share?How can I see the data in
SampledDatasets/java/code_processed/code_100000.pt
? When I runthere is an error
The 'data' object was created by an older version of PyG. If this error occurred while loading an already existing dataset, remove the 'processed/' directory in the dataset's root folder and try again.