Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
New lines at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
krshrimali authored and ethanwharris committed Apr 27, 2022
1 parent 1c1b117 commit 1c7d8e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flash/core/data/data_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,4 +595,4 @@ def _split_train_val(
return (
SplitDataset(train_dataset, train_indices, use_duplicated_indices=True),
SplitDataset(train_dataset, val_indices, use_duplicated_indices=True),
)
)
2 changes: 1 addition & 1 deletion tests/core/data/test_data_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,4 +469,4 @@ def test_val_split():
)

assert len(datamodule.train_dataset) == 80
assert len(datamodule.val_dataset) == 20
assert len(datamodule.val_dataset) == 20

0 comments on commit 1c7d8e0

Please sign in to comment.