Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
karkir0003 committed Nov 19, 2023
1 parent 07a70f3 commit 36501e3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dlp-cli
2 changes: 1 addition & 1 deletion training/training/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class DefaultImageDatasets(Enum):
MNIST = "MNIST"
FASHION_MNIST = "FashionMNIST"
KMNIST = "KMNIST"
CIFAR = "CIFAR10"
CIFAR10 = "CIFAR10"


class ImageDefaultDatasetCreator(TrainTestDatasetCreator):
Expand Down
2 changes: 0 additions & 2 deletions training/training/core/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ def _train_init(self):
super()._train_init()

def _train_step(self, inputs: torch.Tensor, labels: torch.Tensor):
print(f"input shape: {inputs.shape}")
print(f"labels shape: {labels.shape}")
super()._train_step(inputs, labels)
self._train_correct += self.compute_correct(self._outputs, labels)

Expand Down

0 comments on commit 36501e3

Please sign in to comment.