GraphGym icon indicating copy to clipboard operation
GraphGym copied to clipboard

Documentation for configuration options and dataset registration.

Open Sann5 opened this issue 2 years ago • 7 comments

Hello!

This project is truly amazing, thank you. That said I'm finding it difficult to apply it to my own datasets. Naturally, I would like to customize the grid search however, I'm not sure what the valid options are for each field in the configuration. The valid options I know are thanks to the examples configs and grids in the repo, but a comprehensive list for each field would be greatly appreciated. Is there any existing documentation on this matter?

I'm also unsure about how to register my datasets. At which point in the pipeline should the customized version of graphgym/contrib/loader/example.py be run? I'm guessing before the config generation script as the configs must include the dataset information. Still, I'm unsure about how this piece of code fits in the pipeline.

Thank you in advance.

Sann5 avatar Jan 13 '23 04:01 Sann5

Hey! Have you discovered how to register a dataset?

HeVLF avatar Jun 11 '23 12:06 HeVLF

Hey kind of yes. But in the end i had so much trouble using graph gym that i replaced altogether with my own implementation. But if you want i can give you the link to my fork of the torch_geometric graphgym that tries to use it.

Sann5 avatar Jun 14 '23 05:06 Sann5

Hey. I'm thinking of doing the same, if the troubles persist. But if you can, please send me. Thank you!

HeVLF avatar Jun 14 '23 08:06 HeVLF

https://github.com/Sann5/pytorch_geometric/tree/costum_dataset_bug

Sann5 avatar Jun 14 '23 09:06 Sann5

Thank you. Hopefully I can use it for my study

HeVLF avatar Jun 15 '23 18:06 HeVLF

I fully agree that a comprehensive documentation is really in need for customization. I wonder if this project is still maintained? @JiaxuanYou

JanineCHEN avatar Jul 21 '23 03:07 JanineCHEN

I personally will recommend looking into the graphgym/loader.py file. In the file (specifically the load_pyg, load_nx function) the code is sort of self-explanatory. Looks like the model only supports (PPI, Amazon, Coauthor, KarateClub, MNISTSuperpixels, Planetoid, QM7b, TUDataset) and customized networkx datasets.

ChenpengZhang avatar Jun 28 '24 17:06 ChenpengZhang