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

Assistance Required with HTTP Error 403 when Downloading QM9 Dataset in SparseDiff Project #3

Closed
knightzhong opened this issue May 23, 2024 · 1 comment

Comments

@knightzhong
Copy link

Dear Author,

I hope this message finds you well. I am currently working with your SparseDiff project and have encountered a challenge that I believe requires your expertise. I am experiencing an HTTP 403 Forbidden error when attempting to download the QM9 dataset.

The error trace is as follows:

Error executing job with overrides: ['dataset=qm9']
Traceback (most recent call last):
...
urllib.error.HTTPError: HTTP Error 403: Forbidden
I have verified that the file paths are correct and have followed the code implementation you provided. Specifically, the error occurs when executing the following code snippet:

file_path = download_url(self.raw_url, self.raw_dir)
extract_zip(file_path, self.raw_dir)
os.unlink(file_path)
_ = download_url(self.raw_url2, self.raw_dir)
os.rename(
osp.join(self.raw_dir, "3195404"),
osp.join(self.raw_dir, "uncharacterized.txt"),
)

@knightzhong
Copy link
Author

Thank you, I have already downloaded it on my own.

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

1 participant