Skip to content

Commit

Permalink
Merge branch 'tinyimagenet_dataset' into 'main'
Browse files Browse the repository at this point in the history
TinyImageNet Dataset

See merge request es/ai/hannah/hannah!422
  • Loading branch information
moreib committed Feb 11, 2025
2 parents cd6c200 + 3f37b88 commit c0daf63
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hannah/conf/dataset/tinyimagenet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data_folder: ${hydra:runtime.cwd}/datasets/
cls: hannah.datasets.vision.TinyImageNet
dataset: tiny-imagenet-200
val_percent: 0.1
2 changes: 2 additions & 0 deletions hannah/datasets/vision/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from .ri_capsule import RICapsuleDataset
from .mnist import MNISTDataset
from .svhn import SVHNDataset
from .imagenet import TinyImageNet

__all__ = [
"DresdenCapsuleDataset",
Expand All @@ -35,4 +36,5 @@
"RICapsuleDataset",
"MNISTDataset",
"SVHNDataset",
"TinyImageNet"
]
Loading

0 comments on commit c0daf63

Please sign in to comment.