Skip to content

Commit

Permalink
feat(ml):rename dataloader
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0124 authored and beniz committed Oct 1, 2024
1 parent 98b1315 commit f760b1e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/self_supervised_vid_mask_online_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def natural_keys(text):
return [atoi(c) for c in re.split("(\d+)", text)]


class SelfSupervisedTemporalLabeledMaskOnlineDataset(BaseDataset):
class SelfSupervisedVidMaskOnlineDataset(BaseDataset):
def __len__(self):
"""Return the total number of images in the dataset.
As we have two datasets with potentially different number of images,
Expand Down
2 changes: 1 addition & 1 deletion examples/example_ddpm_vid_mario.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
},
"data": {
"crop_size": 64,
"dataset_mode": "self_supervised_temporal_labeled_mask_online",
"dataset_mode": "self_supervised_vid_mask_online",
"direction": "AtoB",
"image_bits": 8,
"inverted_mask": false,
Expand Down
2 changes: 1 addition & 1 deletion options/common_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def initialize(self, parser):
"aligned",
"nuplet_unaligned_labeled_mask",
"temporal_labeled_mask_online",
"self_supervised_temporal_labeled_mask_online",
"self_supervised_vid_mask_online",
"self_supervised_temporal",
"single",
"unaligned_labeled_mask_ref",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_run_vid_diffusion_online.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

models_diffusion = ["palette"]
G_netG = ["unet_vid"]
data_dataset_mode = ["self_supervised_temporal_labeled_mask_online"]
data_dataset_mode = ["self_supervised_vid_mask_online"]

product_list = product(models_diffusion, G_netG, data_dataset_mode)

Expand Down

0 comments on commit f760b1e

Please sign in to comment.