Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restoring scribbles using torchmaxflow (Project-MONAI#731)
* Fix preload config (Project-MONAI#728) * Fix preload config Signed-off-by: SACHIDANAND ALLE <[email protected]> * Fix preload config Signed-off-by: SACHIDANAND ALLE <[email protected]> Signed-off-by: masadcv <[email protected]> * restoring scribbles with torchmaxflow Signed-off-by: masadcv <[email protected]> * update to torchmaxflow 0.0.4rc2 Signed-off-by: masadcv <[email protected]> * fix torch import issue Signed-off-by: masadcv <[email protected]> * fix scribbles label issue for roi and histogram tx Signed-off-by: masadcv <[email protected]> * increase complexity of histogram to handle difficult cases Signed-off-by: masadcv <[email protected]> * Add spatial size argment to infer file (Project-MONAI#730) * Add spatial size argment to infer file Signed-off-by: Andres Diaz-Pinto <[email protected]> * Update segmentation App Signed-off-by: Andres Diaz-Pinto <[email protected]> * Update segmentation App - json arg Signed-off-by: Andres Diaz-Pinto <[email protected]> Signed-off-by: masadcv <[email protected]> * no collapse scribbles on nextsamp, if user is scribbling Signed-off-by: masadcv <[email protected]> * update to torchmaxflow 0.0.5 Signed-off-by: masadcv <[email protected]> * drop python 3.6 support (Project-MONAI#735) Monai has dropped Python 3.6 support (Project-MONAI/MONAI@e655b4e). PyTorch dropped Python 3.6 starting in version 1.11.0 (pytorch/pytorch@dc5cda0). Python 3.6 official end of support date was 23rd Dec 2021. Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * update copyright headers dropping specific year (Project-MONAI#737) This is based on the same changes contributed to the Monai toolkit repo in Project-MONAI/MONAI@1516ca7. Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * update PY_REQUIRED_MINOR to reflect python 3.7 minimum (Project-MONAI#738) * update PY_REQUIRED_MINOR to reflect python 3.7 minimum This should have been originally included with Project-MONAI@92e0fec. Signed-off-by: James Butler <[email protected]> * drop torch 1.5 support Monai dropped torch 1.5 support in Project-MONAI/MONAI@2e83cd2. Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Linting with pre-commit ci (Project-MONAI#736) * Fix Flake8 E501: line too long https://www.flake8rules.com/rules/E501.html Signed-off-by: James Butler <[email protected]> * Fix Flake8 E711: Comparison to none should be 'if cond is none:' https://www.flake8rules.com/rules/E711.html Signed-off-by: James Butler <[email protected]> * Fix Flake8 E741: Do not use variables named 'l', 'o', or 'i' https://www.flake8rules.com/rules/E741.html Signed-off-by: James Butler <[email protected]> * Fix Flake8 F841: Local variable name is assigned to but never used https://www.flake8rules.com/rules/F841.html Signed-off-by: James Butler <[email protected]> * Consolidate lint checks to cross platform pre-commit framework This is to be paired with GitHub application pre-commit ci https://github.com/marketplace/pre-commit-ci which is a continuous integration service for the pre-commit framework. https://github.com/pre-commit/action is the deprecated GitHub actions version. Signed-off-by: James Butler <[email protected]> * trim trailing whitespace Signed-off-by: James Butler <[email protected]> * Upgrade python syntax to 3.7 and newer monailabel currently has the requirement python_requires = >= 3.7 Signed-off-by: James Butler <[email protected]> * Update CI to latest version of "action/checkout" GitHub actions See https://github.com/actions/checkout/releases/tag/v3.0.0 Signed-off-by: James Butler <[email protected]> * Update CI to latest version of "action/setup-python" GitHub actions See https://github.com/actions/setup-python/releases/tag/v3.0.0 Signed-off-by: James Butler <[email protected]> * Add PR testing ci on python 3.9 Monai uses python 3.8 and 3D Slicer uses Python 3.9. Signed-off-by: James Butler <[email protected]> * Fix simpleitk building whl from source in CI Signed-off-by: SACHIDANAND ALLE <[email protected]> * Add MyPy and fix Azure Pipeline Signed-off-by: SACHIDANAND ALLE <[email protected]> * Remove mypy from runtest.sh and runtests.bat not needed anymore Signed-off-by: SACHIDANAND ALLE <[email protected]> Co-authored-by: SACHIDANAND ALLE <[email protected]> Signed-off-by: masadcv <[email protected]> * Revert "Linting with pre-commit ci (Project-MONAI#736)" This reverts commit ba9e89e so that changes can be organized in separate commits and re-committed. Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Fix Flake8 E501: line too long https://www.flake8rules.com/rules/E501.html Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Fix Flake8 E711: Comparison to none should be 'if cond is none:' https://www.flake8rules.com/rules/E711.html Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Fix Flake8 E741: Do not use variables named 'l', 'o', or 'i' https://www.flake8rules.com/rules/E741.html Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Fix Flake8 F841: Local variable name is assigned to but never used https://www.flake8rules.com/rules/F841.html Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Consolidate lint checks to cross platform pre-commit framework This is to be paired with GitHub application pre-commit ci https://github.com/marketplace/pre-commit-ci which is a continuous integration service for the pre-commit framework. https://github.com/pre-commit/action is the deprecated GitHub actions version. Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * trim trailing whitespace Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Upgrade python syntax to 3.7 and newer monailabel currently has the requirement python_requires = >= 3.7 Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Update CI to latest version of "action/checkout" GitHub actions See https://github.com/actions/checkout/releases/tag/v3.0.0 Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Update CI to latest version of "action/setup-python" GitHub actions See https://github.com/actions/setup-python/releases/tag/v3.0.0 Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Add PR testing ci on python 3.9 Monai uses python 3.8 and 3D Slicer uses Python 3.9. Signed-off-by: James Butler <[email protected]> Signed-off-by: masadcv <[email protected]> * Fix simpleitk building whl from source in CI Signed-off-by: SACHIDANAND ALLE <[email protected]> Signed-off-by: masadcv <[email protected]> * Add MyPy and fix Azure Pipeline Signed-off-by: SACHIDANAND ALLE <[email protected]> Signed-off-by: masadcv <[email protected]> * Remove mypy from runtest.sh and runtests.bat not needed anymore Signed-off-by: SACHIDANAND ALLE <[email protected]> Signed-off-by: masadcv <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Signed-off-by: masadcv <[email protected]> * fix module name for pre-commit (Project-MONAI#742) Signed-off-by: SACHIDANAND ALLE <[email protected]> Signed-off-by: masadcv <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Signed-off-by: masadcv <[email protected]> * adds codeql (Project-MONAI#741) * adds codeql Signed-off-by: Wenqi Li <[email protected]> * temp test Signed-off-by: Wenqi Li <[email protected]> * python tests Signed-off-by: Wenqi Li <[email protected]> * fix log filename - security fix Signed-off-by: SACHIDANAND ALLE <[email protected]> Co-authored-by: SACHIDANAND ALLE <[email protected]> Signed-off-by: masadcv <[email protected]> * update to torchmaxflow 0.0.6rc1 Signed-off-by: masadcv <[email protected]> * update to torchmaxflow 0.0.6rc1 Signed-off-by: masadcv <[email protected]> * adding multilabel support + dynamic scribbles label support Signed-off-by: masadcv <[email protected]> Co-authored-by: SACHIDANAND ALLE <[email protected]> Co-authored-by: Andres Diaz-Pinto <[email protected]> Co-authored-by: James Butler <[email protected]> Co-authored-by: James Butler <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Wenqi Li <[email protected]>
- Loading branch information