tjiagoM / spatio-temporal-brain

A Deep Graph Neural Network Architecture for Modelling Spatio-temporal Dynamics in rs-fMRI Data
Apache License 2.0
43 stars 8 forks source link

Structure of HCP dataset #23

Closed SaqibMamoon closed 7 months ago

SaqibMamoon commented 7 months ago

Dear Author, Thanks for sharing such a comprehensive and complete code. The results obtained and the variability options put into this is really remarkable. However, I find it hard to run the code of HCP dataset, and the structure of the directory or names are unknown to me, as the person ID and gender have to in correspondence. Could you please guide how to structure the directory to be able to run the code, I have HCP files in both csv and .txt files. If there is any script which will put the folders to their right place, please give kind consideration to upload on the repo.

Thanks a lot. Warmest Regards.

tjiagoM commented 7 months ago

Dear SaqibMamoon,

Thanks a lot for the interest in our work. I'm very sorry, but unfortunately, I cannot share with you the pre-processed data, done by one of authors of the paper.

I could try to help in the best way possible to understand my code. You can see the code I created to load data from the uk biobank and human connectome project (HCP) here: https://github.com/tjiagoM/spatio-temporal-brain/blob/master/datasets.py (including how we preprocessed the data)

You will probably need to know how data loading works with pytorch geometric (https://pytorch-geometric.readthedocs.io/en/latest/notes/create_dataset.html), before looking to this module.

Hope this helps!

SaqibMamoon commented 7 months ago

Dear SaqibMamoon,

Thanks a lot for the interest in our work. I'm very sorry, but unfortunately, I cannot share with you the pre-processed data, done by one of authors of the paper.

I could try to help in the best way possible to understand my code. You can see the code I created to load data from the uk biobank and human connectome project (HCP) here: https://github.com/tjiagoM/spatio-temporal-brain/blob/master/datasets.py (including how we preprocessed the data)

You will probably need to know how data loading works with pytorch geometric (https://pytorch-geometric.readthedocs.io/en/latest/notes/create_dataset.html), before looking to this module.

Hope this helps!

Dear tjiagoM, Thank you for guiding me through it and sharing the valuable links. Warmest Regards.