Skip to content

Commit

Permalink
fix in datasets module to match import structure
Browse files Browse the repository at this point in the history
  • Loading branch information
dorchard authored and raehik committed Nov 9, 2023
1 parent d3947e5 commit ce70a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gz21_ocean_momentum/data/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def add_targets_transform(self, transform):
)
self.transforms["targets"].add_transform(transform)

def fit(self, x: torch.utils.data.Dataset):
def fit(self, x: torch.Dataset):
"""
Call the fit method of all array transforms in the list
of features and target transforms on the passed Dataset.
Expand Down

0 comments on commit ce70a34

Please sign in to comment.