Skip to content

Commit

Permalink
Remove modifications to base trainer
Browse files Browse the repository at this point in the history
  • Loading branch information
calebrob6 committed Sep 23, 2024
1 parent e0d887b commit c0f0704
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions torchgeo/trainers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ def __init__(self, ignore: Sequence[str] | str | None = None) -> None:
ignore: Arguments to skip when saving hyperparameters.
"""
super().__init__()
if ignore is None:
ignore = ['ignore']
elif isinstance(ignore, str):
ignore = [ignore, 'ignore']
else:
ignore = [*list(ignore), 'ignore']
self.save_hyperparameters(ignore=ignore)
self.configure_models()
self.configure_losses()
Expand Down

0 comments on commit c0f0704

Please sign in to comment.