-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply transforms in PreProcessor (#2467)
* apply transforms in pre-processor * add augmentation arguments to datamodules * update expected config for adapter tests * fix buffer issue * update data notebooks * reduce num workers in MLFlow notebook * Revert "reduce num workers in MLFlow notebook" This reverts commit 151a179. * match resize between augmentations and model transforms * remove subset-specific transforms in preprocessor * move nested attr helper to utils * move transform retrieve function to transform utils * update efficientad transform validation * formatting * update preprocessor docstring * fix data notebook * fix logic in _update_augmentations * add unit tests for updating augmentations in data module * add unit tests for updating augmentations in data module * add test for collate method * copy transform before converting * update docstring * rename function
- Loading branch information
Showing
69 changed files
with
762 additions
and
728 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,6 @@ model: | |
permute_soft: false | ||
lr: 0.0001 | ||
|
||
metrics: | ||
pixel: | ||
- AUROC | ||
|
||
trainer: | ||
max_epochs: 50 | ||
callbacks: | ||
|
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 |
---|---|---|
|
@@ -6,10 +6,6 @@ model: | |
clamp: 3 | ||
num_channels: 3 | ||
|
||
metrics: | ||
pixel: | ||
- AUROC | ||
|
||
trainer: | ||
max_epochs: 240 | ||
callbacks: | ||
|
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 |
---|---|---|
|
@@ -8,10 +8,6 @@ model: | |
padding: false | ||
pad_maps: true | ||
|
||
metrics: | ||
pixel: | ||
- AUROC | ||
|
||
trainer: | ||
max_epochs: 1000 | ||
max_steps: 70000 |
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 |
---|---|---|
|
@@ -8,6 +8,3 @@ model: | |
backbone: resnet18 | ||
pre_trained: true | ||
n_features: null | ||
|
||
metrics: | ||
pixel: AUROC |
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 |
---|---|---|
|
@@ -7,10 +7,6 @@ model: | |
- layer2 | ||
- layer3 | ||
|
||
metrics: | ||
pixel: | ||
- AUROC | ||
|
||
trainer: | ||
max_epochs: 100 | ||
callbacks: | ||
|
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.