-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add BaseDataModule * Add pre-commit hooks * Refactor cifar10_datamodule * Move torchvision warning * Refactor binary_mnist_datamodule * Refactor fashion_mnist_datamodule * Fix errors * Remove VisionDataset type hint so CI base testing does not fail (torchvision is not installed there) * Implement Nate's suggestions * Remove train and eval batch size because it brakes a lot of tests * Properly add transforms to train and val dataset * Add num_samples property to cifar10 dm * Add tesats and docs * Fix flake8 and codafactor issue * Update changelog * Fix isort * Add typing * Rename to VisionDataModule * Remove transform_lib type annotation * suggestions * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Akihiro Nitta <nitta@akihironitta.com> * Add flags from #388 to API * Make tests work * Move _TORCHVISION_AVAILABLE check * Update changelog * Fix CI base testing * Fix CI base testing * Apply suggestions from code review Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
- Loading branch information
1 parent
347a63d
commit 02684ef
Showing
9 changed files
with
363 additions
and
458 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,5 +5,6 @@ repos: | |
- id: isort | ||
|
||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.790 | ||
hooks: | ||
- id: mypy |
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
Oops, something went wrong.