Skip to content

Commit

Permalink
[Dataset] Add VOCSuperpixels dataset in LRGB (#6389)
Browse files Browse the repository at this point in the history
  • Loading branch information
paoxiaode authored Oct 8, 2023
1 parent 403dba6 commit 8edcad2
Show file tree
Hide file tree
Showing 4 changed files with 331 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/source/api/python/dgl.data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Datasets for node classification/regression tasks
MovieLensDataset
PeptidesStructuralDataset
PeptidesFunctionalDataset
VOCSuperpixelsDataset

Edge Prediction Datasets
---------------------------------------
Expand Down
6 changes: 5 additions & 1 deletion python/dgl/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@
# Exception handling was added to prevent crashes for users who are using other
# datasets.
try:
from .lrgb import PeptidesFunctionalDataset, PeptidesStructuralDataset
from .lrgb import (
PeptidesFunctionalDataset,
PeptidesStructuralDataset,
VOCSuperpixelsDataset,
)
except ImportError:
pass
from .pattern import PATTERNDataset
Expand Down
Loading

0 comments on commit 8edcad2

Please sign in to comment.