Skip to content

Commit

Permalink
Merge pull request #84 from tsugumi-sys/delete-unnecessary-params
Browse files Browse the repository at this point in the history
delete unnecessary parameters
  • Loading branch information
tsugumi-sys authored Jan 15, 2024
2 parents 9883b9e + 7be8106 commit 113ceec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pipelines/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

class TrainingParams(TypedDict):
epochs: int
batch_size: int
loss_criterion: nn.Module
accuracy_criterion: nn.Module
optimizer: nn.Module
Expand Down
1 change: 0 additions & 1 deletion tests/pipelines/test_experimenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def test_run():
model = TestModel()
training_params: TrainingParams = {
"epochs": 1,
"batch_size": 1,
"loss_criterion": nn.MSELoss(),
"accuracy_criterion": nn.L1Loss(),
"optimizer": Adam(model.parameters(), lr=0.0005),
Expand Down

0 comments on commit 113ceec

Please sign in to comment.