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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

QM9 Dataset failed to download #9093

Open
Alphaalimamy opened this issue Mar 23, 2024 · 1 comment
Open

QM9 Dataset failed to download #9093

Alphaalimamy opened this issue Mar 23, 2024 · 1 comment
Labels

Comments

@Alphaalimamy
Copy link

馃悰 Describe the bug

path = './qm9'
    target = 0

    # Transforms which are applied during data loading:
    # (1) Fully connect the graphs, (2) Select the target/label
    transform = T.Compose([CompleteGraph(), SetTarget()])

    # Load the QM9 dataset with the transforms defined
    dataset = QM9(path, transform=transform)

    # Normalize targets per data sample to mean = 0 and std = 1.
    mean = dataset.data.y.mean(dim=0, keepdim=True)
    std = dataset.data.y.std(dim=0, keepdim=True)
    dataset.data.y = (dataset.data.y - mean) / std
    mean, std = mean[:, target].item(), std[:, target].item()

### Versions

Hi everyone. I have tried so many days to doqnload QM9 dataset using this code but it always fail to download 
@rusty1s
Copy link
Member

rusty1s commented Mar 25, 2024

What is the error message you see?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants