Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prepare dataset? Using from dgl? #2

Open
YijianLiu opened this issue Nov 11, 2022 · 3 comments
Open

How to prepare dataset? Using from dgl? #2

YijianLiu opened this issue Nov 11, 2022 · 3 comments

Comments

@YijianLiu
Copy link

Hello, how to prepare dataset, need your help! Thanks so much!

@zhiqi-0
Copy link
Owner

zhiqi-0 commented Nov 11, 2022

Please check the code here get dataset.

And README has explained the dataset format of adj.npz and labels.npy, etc. All these data should be placed under one datafolder, which will be taken by --dataset argument.

Since I don't know what your dataset looks like, you need to convert your dataset into the above format.

@zhiqi-0
Copy link
Owner

zhiqi-0 commented Nov 11, 2022

To your Q1: Yes, it should be ok. For reddit_self_loop, I'm not sure whether DGL currently still supports downloading Reddit-self dataset, you could double check the tutorials and see how they train models with given datasets.

To your Q2: Please checkout code in DG

@zhiqi-0
Copy link
Owner

zhiqi-0 commented Nov 14, 2022

Sorry, will find you the next month, I'm really busy these days. You can firstly try to read the code and figure out how it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants