refactored dataset names + multi-gpu running (#321)

* refactored dataset names + multi-gpu running

* update comments + docs
This commit is contained in:
evonneng authored and GitHub committed 2022-09-01 18:22:11 -07:00
1 parent bb2a528eb4
commit b0f6d75cdf
16 files changed
+310 -304

No files matched your search

-2
View File
@@ -39,7 +39,6 @@ class ImageDataset(Dataset):
image_filenames: List[Path],
downscale_factor: int = 1,
alpha_color: Optional[TensorType[3]] = None,
**kwargs,
):
"""_summary_
@@ -53,7 +52,6 @@ class ImageDataset(Dataset):
self.image_filenames = image_filenames
self.downscale_factor = downscale_factor
self.alpha_color = alpha_color
self.kwargs = kwargs
def __len__(self):
return len(self.image_filenames)