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

File missing when sampling #2

Closed
Frankie123421 opened this issue Aug 7, 2022 · 2 comments
Closed

File missing when sampling #2

Frankie123421 opened this issue Aug 7, 2022 · 2 comments

Comments

@Frankie123421
Copy link

Hello, congratulations on your nice work and thanks for sharing the codes. When I sampled graphs with command "CUDA_VISIBLE_DEVICES=${gpu_ids} python main.py --type sample --config sample" as stated in README, I found that in sampler.py LINE 125:
"with open(f'data/{self.configt.data.data.lower()}_test_nx.pkl', 'rb') as f:"
the files "*_test_nx.pkl" are missing in data folder. I wonder how to fix it, thanks in advance.

@harryjo97
Copy link
Owner

Hello, thanks for your interest in our work.

The files "*_test_nx.pkl" are created when you run the following command for the Preparations:
python data/preprocess_for_nspdk.py --dataset ${dataset_name}

If you have any further questions, I would be happy to answer them!

@Frankie123421
Copy link
Author

Thanks, sorry for missing this command.

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