Skip to content

Commit

Permalink
Merge pull request #157 from annabelle1217/annabelle/fix-pytorch-unet…
Browse files Browse the repository at this point in the history
…-load

✏️ typo fix for pycaret component library
  • Loading branch information
MFA-X-AI authored May 11, 2022
2 parents 282a360 + 590ee6a commit 8ad45a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xai_components/xai_pytorch/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def execute(self, ctx) -> None:
pin_memory=pin_memory_bool
)

tests_set = UNetDataset(image_dir=str(self.train_image_folder.value[0]), masks_dir=str(self.train_image_folder.value[1]))
tests_set = UNetDataset(image_dir=str(self.test_image_folder.value[0]), masks_dir=str(self.test_image_folder.value[1]))
tests_loader = torch.utils.data.DataLoader(tests_set,
batch_size=image_batch_size,
shuffle=shuffle_bool,
Expand Down

0 comments on commit 8ad45a5

Please sign in to comment.