-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move SSL transforms to pl_bolts/transforms (#905)
* Move SSL transforms to pl_bolts/transforms * Update self supervised docs * Update self-supervised transforms docs * Add simclr transforms doc strings and typing * Fix swav_transform import error. Change assert to assertion error * call train_transform * Fix gaussian_blur super init arg * Update moco transforms docs * Transfer MoCo transforms. MoCo tests passing. * Fix interpolation mode deprecation warning * CPC_transforms typing and interpolation deprecation fix. * MoCo transforms typing hints * Keep under_review tags for unreviewed files * Fix MoCo docs error --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: otaj <6065855+otaj@users.noreply.github.com> Co-authored-by: Jirka B <j.borovec+github@gmail.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
fbdaef6
commit 5669578
Showing
23 changed files
with
304 additions
and
180 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
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
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
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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from pl_bolts.models.self_supervised.moco.transforms import ( # noqa: F401 | ||
Moco2EvalCIFAR10Transforms, | ||
Moco2EvalImagenetTransforms, | ||
Moco2EvalSTL10Transforms, | ||
Moco2TrainCIFAR10Transforms, | ||
Moco2TrainImagenetTransforms, | ||
Moco2TrainSTL10Transforms, | ||
from pl_bolts.transforms.self_supervised.moco_transforms import ( # noqa: F401 | ||
MoCo2EvalCIFAR10Transforms, | ||
MoCo2EvalImagenetTransforms, | ||
MoCo2EvalSTL10Transforms, | ||
MoCo2TrainCIFAR10Transforms, | ||
MoCo2TrainImagenetTransforms, | ||
MoCo2TrainSTL10Transforms, | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from pl_bolts.models.self_supervised.simclr.transforms import ( # noqa: F401 | ||
from pl_bolts.transforms.self_supervised.simclr_transforms import ( # noqa: F401 | ||
SimCLREvalDataTransform, | ||
SimCLRTrainDataTransform, | ||
) |
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
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
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.