snap-stanford/GEARS

About the preparation of split

Closed this issue · 4 comments

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!

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

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?

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

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

Thank you for developing this great package!