Skip to content

Commit

Permalink
Merge pull request #127 from sofiia-chorna/fix-small-muad-url
Browse files Browse the repository at this point in the history
🐛 Fix small MUAD dataset URL
  • Loading branch information
alafage authored Dec 26, 2024
2 parents 63e9ece + 5e5635b commit ec2d921
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/datamodules/segmentation/test_muad.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ def test_camvid_main(self):
dm.setup()
dm.train_dataloader()
dm.val_dataloader()

def test_small_muad_accessibility(self):
dataset = MUAD(root="./data/", split="test", version="small", download=True)
assert len(dataset.samples) > 0, "Dataset is not found"
2 changes: 1 addition & 1 deletion torch_uncertainty/datasets/muad.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class MUAD(VisionDataset):
"val_depth": "0282030d281aeffee3335f713ba12373",
}

small_muad_url = "fira7s/Muad2"
small_muad_url = "ENSTA-U2IS/miniMUAD"

_num_samples = {
"full": {
Expand Down

0 comments on commit ec2d921

Please sign in to comment.