snap-stanford / GEARS

GEARS is a geometric deep learning model that predicts outcomes of novel multi-gene perturbations
MIT License
189 stars 38 forks source link

About the preparation of split #40

Closed GoldenRain-Su closed 9 months ago

GoldenRain-Su commented 9 months ago

Hello, dear developers. I run the code as below two times, but I think there are something went wrong about the file generation in the split prepare step

pert_data = PertData('./data') pert_data.load(data_name = 'norman') pert_data.prepare_split(split = 'simulation', seed = 1) pert_data.get_dataloader(batch_size = 32, test_batch_size = 128)

And the error message is shown as below: image So I want to know how to fix that problem. Thanks for your jobs!

yhr91 commented 9 months ago

Thanks for your question! I just ran the code you shared and it worked for me. Can you please share the version of GEARS you are using and the full script. Thanks

GoldenRain-Su commented 9 months ago

Thanks for your question! I just ran the code you shared and it worked for me. Can you please share the version of GEARS you are using and the full script. Thanks

The version of cell-gears is 0.1.1 and the full script is shown as below: image Actually, I didn't find any file in /norma/splits/ directory. Do you think it is a mistake about syntax of path or space problem?

GoldenRain-Su commented 9 months ago

OK, I find it is a mistake about syntax, and now I repair it. Thanks for your work!

AtheerAS commented 3 months ago

Hi, I had have the same issue with version 0.1.2. Any clue?

Thank you for developing this great package!