-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pre-downsampled training data (#8)
* handle pre-resampled images and tidy up dataloader * update data source and test download func now that data is lightweight * lint
- Loading branch information
1 parent
741d1d0
commit e93ff65
Showing
4 changed files
with
45 additions
and
45 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from fidder.data import download_training_data | ||
|
||
|
||
def test_download_training_data(tmp_path): | ||
download_training_data(tmp_path) | ||
assert (tmp_path / 'images').exists() | ||
assert (tmp_path / 'masks').exists() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters