Commit 634f5a4
WNet + models code refactor (#36)
* Testing instance methods
Co-Authored-By: gityves <[email protected]>
* Many fixes
- Fixed monai reqs
- Added custom functions for label checking
- Fixed return type of voronoi_otsu and utils.resize
- black
* black
* Complete instance method evaluation
* Enfore pre-commit style
* Removing dask-image
* Fixed erroneous dtype conversion
* Update test_plugin_utils.py
* Update tox.ini
* Added new pre-commit hooks
* Run full suite of pre-commit hooks
* Enforce style
* Documentation update, crop contrast fix
* Updated hooks
* Update setup.cfg
* Many fixes
- Fixed monai reqs
- Added custom functions for label checking
- Fixed return type of voronoi_otsu and utils.resize
- black
* Enfore pre-commit style
* Updated project files
* Removing dask-image
* Latest pre-commit hooks
* Instance segmentation refactor + Voronoi-Otsu
- Improved code for instance segmentation
- Added Voronoi-Otsu labeling from pyclesperanto
TODO : credits for labeling
* isort
* Fix inference
* Added labeling tools + UI tweaks
- Added tools from MLCourse to evaluate labels and auto-correct them
- Instance seg benchmark notebook
- Tweaked utils UI to scale according to Viewer size
Co-Authored-By: gityves <[email protected]>
* Many fixes
- Fixed monai reqs
- Added custom functions for label checking
- Fixed return type of voronoi_otsu and utils.resize
- black
* Added pre-commit hooks
* Update .pre-commit-config.yaml
* Update pyproject.toml
* Update pyproject.toml
Ruff config
* Enfore pre-commit style
* Update .gitignore
* Version bump
* Revert "Version bump"
This reverts commit 6e39971.
* Updated project files
* Fixed wrong value in instance sliders
* Removing dask-image
* Update test_plugin_utils.py
* Relabeling tests
* Added new pre-commit hooks
* Latest pre-commit hooks
* Run full suite of pre-commit hooks
* Model class refactor
* Added LR scheduler in training
- Added ReduceLROnPlateau with params in training
- Updated training guide
- Minor UI attribute refactor
- black
* Update assess_instance.ipynb
* Update .gitignore
* Started adding WNet
* Specify no grad in inference
* First functional WNet inference, no CRF
* Create test_models.py
* Run full suite of pre-commit hooks
* Patch for tests action + style
* Add softNCuts basic test
* Added crf
Co-Authored-By: Nevexios <[email protected]>
* More pre-commit checks
* Functional CRF
* Fix erroneous test comment, added toggle for crf
- Warn if crf not installed
- Fix test
* Specify missing test deps
* Trying to fix deps on Git
* Removed master link to pydensecrf
* Use commit hash
* Removed commit hash
* Removed master
* Update tox.ini
* Update pyproject.toml
* Fixes and improvements
- More CRF info
- Added error handling to scheduler rate
- Added ETA to training
- Updated padding warning trigger size
* Fixes and channel labeling prototype
* Fixes
- Fixed multi-channel instance and csv stats
- Fixed rotation of inference outputs
- Raised max crop size
* Update plugin_model_inference.py
* Update plugin_crop.py
* Fixed patch_func sample number mismatch
* Testing relabel tools
* Fixes in inference
* add model template + fix test + wnet loading opti
- test fixes
- changed crf input reqs
- adapted instance seg for several channels
* Update model_WNet.py
* Update model_VNet.py
* Fixed folder creation when saving to folder
* Fix check_ready for results filewidget
* Added remapping in WNet + ruff config
* Run new hooks
* Small docs update
* Testing fix
* Fixed multithread testing (locally)
* Added proper tests for train/infer
* Slight coverage increase
* Update test_plugin_inference.py
* Set window inference to 64 for WNet
* Update instance_segmentation.py
* Moved normalization to the correct place
* Added auto-set dims for cropping
* Update test_plugin_utils.py
* More WNet
- Added experimental .pt loading for jit models
- More CRF tests
- Optimized WNet by loading inference only
* Update crf test/deps for testing
* Update test_and_deploy.yml
* Update test_and_deploy.yml
* Update tox.ini
* Update test_and_deploy.yml
* Trying to fix tox install of pydensecrf
* Added experimental ONNX support for inference
* Updated WNet for ONNX conversion
* Added dropout param
* Minor fixes in training
* Fix weights file extension in inference + coverage
- Remove unused scripts
- More tests
- Fixed weights type in inference
* Run all hooks
* Fix inference testing
* Changed anisotropy calculation
* Finish rebase + bump version
* Instance segmentation refactor + Voronoi-Otsu
- Improved code for instance segmentation
- Added Voronoi-Otsu labeling from pyclesperanto
TODO : credits for labeling
* Disabled small removal in Voronoi-Otsu
* Added new docs for instance seg
* Docs + UI update
- Updated welcome/README
- Changed step for DoubleCounter
* Update requirements.txt
Fix typo
* isort
* Fix tests
* Fixed parental issues and instance seg widget init
- Fixed widgets parents that were incorrectly init
- Improve use of instance seg. method classes and init
* Fix inference
* Added labeling tools + UI tweaks
- Added tools from MLCourse to evaluate labels and auto-correct them
- Instance seg benchmark notebook
- Tweaked utils UI to scale according to Viewer size
Co-Authored-By: gityves <[email protected]>
* Testing instance methods
Co-Authored-By: gityves <[email protected]>
* Many fixes
- Fixed monai reqs
- Added custom functions for label checking
- Fixed return type of voronoi_otsu and utils.resize
- black
* black
* Complete instance method evaluation
* Added pre-commit hooks
* Enfore pre-commit style
* Update .gitignore
* Version bump
* Updated project files
* Fixed missing parent error
* Fixed wrong value in instance sliders
* Removing dask-image
* Fixed erroneous dtype conversion
* Update test_plugin_utils.py
* Temporary test action patch
* Update plugin_convert.py
* Update tox.ini
Added pocl for testing on GH Actions
* Update tox.ini
* Found existing pocl
* Updated utils test to avoid Voronoi-Otsu
VO is missing CL runtime
* Relabeling tests
* Latest pre-commit hooks
* Run full suite of pre-commit hooks
* Enforce style
* Instance segmentation refactor + Voronoi-Otsu
- Improved code for instance segmentation
- Added Voronoi-Otsu labeling from pyclesperanto
TODO : credits for labeling
* Disabled small removal in Voronoi-Otsu
* Added new docs for instance seg
* Docs + UI update
- Updated welcome/README
- Changed step for DoubleCounter
* Update requirements.txt
Fix typo
* isort
* Fix tests
* Fixed parental issues and instance seg widget init
- Fixed widgets parents that were incorrectly init
- Improve use of instance seg. method classes and init
* Fix inference
* Added labeling tools + UI tweaks
- Added tools from MLCourse to evaluate labels and auto-correct them
- Instance seg benchmark notebook
- Tweaked utils UI to scale according to Viewer size
Co-Authored-By: gityves <[email protected]>
* Testing instance methods
Co-Authored-By: gityves <[email protected]>
* Many fixes
- Fixed monai reqs
- Added custom functions for label checking
- Fixed return type of voronoi_otsu and utils.resize
- black
* black
* Complete instance method evaluation
* Added pre-commit hooks
* Update .pre-commit-config.yaml
* Update pyproject.toml
* Update pyproject.toml
Ruff config
* Enfore pre-commit style
* Update .gitignore
* Version bump
* Revert "Version bump"
This reverts commit 6e39971.
* Updated project files
* Fixed missing parent error
* Fixed wrong value in instance sliders
* Removing dask-image
* Fixed erroneous dtype conversion
* Update test_plugin_utils.py
* Update plugin_convert.py
* Update tox.ini
Added pocl for testing on GH Actions
* Update tox.ini
* Found existing pocl
* Updated utils test to avoid Voronoi-Otsu
VO is missing CL runtime
* Relabeling tests
* Added new pre-commit hooks
* Latest pre-commit hooks
* Run full suite of pre-commit hooks
* Model class refactor
* Added LR scheduler in training
- Added ReduceLROnPlateau with params in training
- Updated training guide
- Minor UI attribute refactor
- black
* Update assess_instance.ipynb
* Update .gitignore
* Started adding WNet
* Specify no grad in inference
* First functional WNet inference, no CRF
* Create test_models.py
* Run full suite of pre-commit hooks
* Patch for tests action + style
* Add softNCuts basic test
* Added crf
Co-Authored-By: Nevexios <[email protected]>
* More pre-commit checks
* Functional CRF
* Fix erroneous test comment, added toggle for crf
- Warn if crf not installed
- Fix test
* Specify missing test deps
* Trying to fix deps on Git
* Removed master link to pydensecrf
* Use commit hash
* Removed commit hash
* Removed master
* Update tox.ini
* Update pyproject.toml
* Fixes and improvements
- More CRF info
- Added error handling to scheduler rate
- Added ETA to training
- Updated padding warning trigger size
* Fixes and channel labeling prototype
* Fixes
- Fixed multi-channel instance and csv stats
- Fixed rotation of inference outputs
- Raised max crop size
* Update plugin_model_inference.py
* Fixed patch_func sample number mismatch
* Testing relabel tools
* Fixes in inference
* add model template + fix test + wnet loading opti
- test fixes
- changed crf input reqs
- adapted instance seg for several channels
* Update model_WNet.py
* Update model_VNet.py
* Fixed folder creation when saving to folder
* Fix check_ready for results filewidget
* Added remapping in WNet + ruff config
* Run new hooks
* Small docs update
* Testing fix
* Fixed multithread testing (locally)
* Added proper tests for train/infer
* Slight coverage increase
* Update test_plugin_inference.py
* Set window inference to 64 for WNet
* Moved normalization to the correct place
* Added auto-set dims for cropping
* Update test_plugin_utils.py
* More WNet
- Added experimental .pt loading for jit models
- More CRF tests
- Optimized WNet by loading inference only
* Update crf test/deps for testing
* Update test_and_deploy.yml
* Update test_and_deploy.yml
* Update tox.ini
* Update test_and_deploy.yml
* Trying to fix tox install of pydensecrf
* Added experimental ONNX support for inference
* Updated WNet for ONNX conversion
* Added dropout param
* Minor fixes in training
* Fix weights file extension in inference + coverage
- Remove unused scripts
- More tests
- Fixed weights type in inference
* Run all hooks
* Fix inference testing
* Changed anisotropy calculation
* Fixed aniso correction and CRF interaction
* Remove duplicate tests
* Finish rebase + changed step to auto in spinbox
* Updated based on feedback from CYHSM
Co-Authored-By: Markus Frey <[email protected]>
* Added minimal WNet notebook for training
* Remove dask
* WNet model docs
* Added QoL shape info for layer selecter
* WNet fixes + PR feedback improvements
* Added imagecodecs to open external datasets
---------
Co-authored-by: gityves <[email protected]>
Co-authored-by: Nevexios <[email protected]>
Co-authored-by: Markus Frey <[email protected]>1 parent e00806c commit 634f5a4
File tree
76 files changed
+4502
-1733
lines changed- .github/workflows
- docs
- res
- code
- guides
- napari_cellseg3d
- _tests
- code_models
- models
- pretrained
- unet
- wnet
- code_plugins
- dev_scripts
- notebooks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
76 files changed
+4502
-1733
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
18 | | - | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
| |||
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
| 54 | + | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| 114 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
0 commit comments