dmlc / dmlc/dgl

Error loading QM9EdgeDataset

Open
#4,656 2 comments 0 reactions 1 assignee Claimed by @peizhou001 View on GitHub
bug:unconfirmed
Dominant language
Python
Stars
14.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug

## To Reproduce

Steps to reproduce the behavior:

1. Run the snippet below.

```
import dgl.data
from dgl.dataloading import GraphDataLoader

dataset = dgl.data.QM9EdgeDataset(label_keys=['homo', 'lumo', 'gap', 'U0', 'U', 'H', 'G'])
TrainDataset = GraphDataLoader(dataset, batch_size=512, drop_last=False, shuffle=True)

for batched_graph, labels in TrainDataset:
print('hi')
```

I'm trying to run dgl on my machine, but every step of the way I'm receiving

> `Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
> `

The code above is just one example. I'm using Apple M1 silicon chip. Would appreciate if someone could confirm if they have no issue on an Apple M1 chip.

## Environment

- DGL Version (e.g., 1.0): 0.9.1
- Backend Library & Version (e.g., PyTorch 0.4.1, MXNet/Gluon 1.3): PyTorch 1.13.0.dev20220926
- OS (e.g., Linux): macOS Big Sur 11.5.2
- How you installed DGL (`conda`, `pip`, source): `/opt/anaconda3/envs/MyEnv/bin/pip install dgl -f https://data.dgl.ai/wheels/repo.html`
- Build command you used (if compiling from source): NA
- Python version: 3.9 and 3.7
- CUDA/cuDNN version (if applicable): NA
- GPU models and configuration (e.g. V100): NA
- Any other relevant information: Using Apple M1 chip

## Additional context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.