Skip to content

Configurable augmentations - #61

Merged
ziw-liu merged 6 commits into
mainfrom
configure-augmentation
Dec 8, 2023
Merged

ziw-liu merged 6 commits into
mainfrom
configure-augmentation

Conversation

@ziw-liu

@ziw-liu ziw-liu commented Nov 21, 2023 •

Copy link
Copy Markdown
Contributor

Made training-time augmentations configurable through YAML config files and CLI arguments.

One caveat is that the MONAI transforms has to be redefined so that the type hints in their __init__() signatures are supported by jsonargparse. This adds some boilerplate code in the library.

@ziw-liu ziw-liu added the enhancement New feature or request label Nov 21, 2023
@ziw-liu ziw-liu linked an issue Nov 21, 2023 that may be closed by this pull request
@ziw-liu

ziw-liu commented Nov 22, 2023

Copy link
Copy Markdown
Contributor Author

Removed auto-generated notebooks since they are difficult to maintain and are duplicates of the python files.

@ziw-liu
ziw-liu marked this pull request as ready for review November 22, 2023 18:54
Comment thread examples/configs/fit_example.yml Resolved

@edyoshikun edyoshikun left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than my comment. this LGTM! I also tested this with the newest mantis data model.

@ziw-liu
ziw-liu merged commit 52d6291 into main Dec 8, 2023
@ziw-liu
ziw-liu deleted the configure-augmentation branch December 8, 2023 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

configurable augmentations

2 participants