-
Notifications
You must be signed in to change notification settings - Fork 20
WNet + models code refactor #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
582 commits
Select commit
Hold shift + click to select a range
ec2cdd0
Testing instance methods
C-Achard 10444f8
Many fixes
C-Achard 55f6fdc
black
C-Achard 43ebdcd
Complete instance method evaluation
C-Achard df4f9da
Enfore pre-commit style
C-Achard 6f1906e
Removing dask-image
C-Achard dd58a06
Fixed erroneous dtype conversion
C-Achard 01d2473
Update test_plugin_utils.py
C-Achard a1468ff
Update tox.ini
C-Achard 9d97ac2
Added new pre-commit hooks
C-Achard 6f4e4b6
Run full suite of pre-commit hooks
C-Achard 90cfbd5
Enforce style
C-Achard 817e3cb
Documentation update, crop contrast fix
C-Achard e72df69
Updated hooks
C-Achard 142ceee
Update setup.cfg
C-Achard 10699f6
Many fixes
C-Achard e716653
Enfore pre-commit style
C-Achard e433cf3
Updated project files
C-Achard adc337a
Removing dask-image
C-Achard 9342597
Latest pre-commit hooks
C-Achard cb9e306
Instance segmentation refactor + Voronoi-Otsu
C-Achard 6a78fb0
isort
C-Achard 82cfccd
Fix inference
C-Achard 16193a1
Added labeling tools + UI tweaks
C-Achard ba2062e
Many fixes
C-Achard 890e3b1
Added pre-commit hooks
C-Achard a6ad19e
Update .pre-commit-config.yaml
C-Achard c9d76f4
Update pyproject.toml
C-Achard 3a9548b
Update pyproject.toml
C-Achard 3f3829f
Enfore pre-commit style
C-Achard fc67737
Update .gitignore
C-Achard ab78666
Version bump
C-Achard 830a25e
Revert "Version bump"
C-Achard 51f3f0f
Updated project files
C-Achard ea0ddaf
Fixed wrong value in instance sliders
C-Achard 845fbc9
Removing dask-image
C-Achard bd77860
Update test_plugin_utils.py
C-Achard 0ffa377
Relabeling tests
C-Achard 023a5db
Added new pre-commit hooks
C-Achard 682e4ef
Latest pre-commit hooks
C-Achard 29f1469
Run full suite of pre-commit hooks
C-Achard 4be5f42
Model class refactor
C-Achard 5f5978e
Added LR scheduler in training
C-Achard 65347c4
Update assess_instance.ipynb
C-Achard ee8af0a
Update .gitignore
C-Achard 03cacc8
Started adding WNet
C-Achard 84f4227
Specify no grad in inference
C-Achard b370b8c
First functional WNet inference, no CRF
C-Achard 13faa9c
Create test_models.py
C-Achard d16273e
Run full suite of pre-commit hooks
C-Achard 858c1e9
Patch for tests action + style
C-Achard c65e4f5
Add softNCuts basic test
C-Achard d74576e
Added crf
C-Achard 56f50e0
More pre-commit checks
C-Achard 543b3f8
Functional CRF
C-Achard 79859b0
Fix erroneous test comment, added toggle for crf
C-Achard 0865b25
Specify missing test deps
C-Achard a887103
Trying to fix deps on Git
C-Achard a174264
Removed master link to pydensecrf
C-Achard 00b7722
Use commit hash
C-Achard a8435f3
Removed commit hash
C-Achard 99c66f5
Removed master
C-Achard e326e95
Update tox.ini
C-Achard 1691e6e
Update pyproject.toml
C-Achard e4b37bc
Fixes and improvements
C-Achard 8b2fc1d
Fixes and channel labeling prototype
C-Achard be5bce6
Fixes
C-Achard db435d0
Update plugin_model_inference.py
C-Achard bc26463
Update plugin_crop.py
C-Achard 77dbc9b
Fixed patch_func sample number mismatch
C-Achard ae5d7c5
Testing relabel tools
C-Achard 9b71743
Fixes in inference
C-Achard 61e7a6e
add model template + fix test + wnet loading opti
C-Achard 32e703f
Update model_WNet.py
C-Achard 519c050
Update model_VNet.py
C-Achard 6dff8ae
Fixed folder creation when saving to folder
C-Achard 43a7849
Fix check_ready for results filewidget
C-Achard e313122
Added remapping in WNet + ruff config
C-Achard 6e0d4e3
Run new hooks
C-Achard 0c2a9de
Small docs update
C-Achard 4a81882
Testing fix
C-Achard b9b377a
Fixed multithread testing (locally)
C-Achard ecc127f
Added proper tests for train/infer
C-Achard 7188c64
Slight coverage increase
C-Achard bd72e72
Update test_plugin_inference.py
C-Achard 17426c9
Set window inference to 64 for WNet
C-Achard eb6b199
Update instance_segmentation.py
C-Achard ad4069c
Moved normalization to the correct place
C-Achard 6c3e438
Added auto-set dims for cropping
C-Achard 6c82e2b
Update test_plugin_utils.py
C-Achard 23bb52f
More WNet
C-Achard 0ef93ac
Update crf test/deps for testing
C-Achard 7882738
Update test_and_deploy.yml
C-Achard fee1fcc
Update test_and_deploy.yml
C-Achard 8b64602
Update tox.ini
C-Achard b621da1
Update test_and_deploy.yml
C-Achard caf3060
Trying to fix tox install of pydensecrf
C-Achard cb29858
Added experimental ONNX support for inference
C-Achard 4e1b0a8
Updated WNet for ONNX conversion
C-Achard a052d2c
Added dropout param
C-Achard ea91159
Minor fixes in training
C-Achard f07d3eb
Fix weights file extension in inference + coverage
C-Achard f854bf3
Run all hooks
C-Achard c55dfac
Fix inference testing
C-Achard dba9d8e
Changed anisotropy calculation
C-Achard 6c1b33b
Finish rebase + bump version
C-Achard 556f132
Instance segmentation refactor + Voronoi-Otsu
C-Achard db4babf
Disabled small removal in Voronoi-Otsu
C-Achard 517ae33
Added new docs for instance seg
C-Achard 45ce321
Docs + UI update
C-Achard 87810fa
Update requirements.txt
C-Achard 5beafd9
isort
C-Achard 334cae0
Fix tests
C-Achard fa01b7d
Fixed parental issues and instance seg widget init
C-Achard 5684d8f
Fix inference
C-Achard 16766b8
Added labeling tools + UI tweaks
C-Achard 984b212
Testing instance methods
C-Achard 7bba627
Many fixes
C-Achard 1cd7f0e
black
C-Achard ab8e078
Complete instance method evaluation
C-Achard bb43b54
Added pre-commit hooks
C-Achard 0f44f38
Enfore pre-commit style
C-Achard e722ae2
Update .gitignore
C-Achard 2204aa9
Version bump
C-Achard 27e1ee4
Updated project files
C-Achard 576cc19
Fixed missing parent error
C-Achard 2908156
Fixed wrong value in instance sliders
C-Achard d926a2b
Removing dask-image
C-Achard a1926ae
Fixed erroneous dtype conversion
C-Achard 8c5bd10
Update test_plugin_utils.py
C-Achard c116632
Temporary test action patch
C-Achard 49aa95b
Update plugin_convert.py
C-Achard 54f5910
Update tox.ini
C-Achard 242bd57
Update tox.ini
C-Achard 7187bfa
Found existing pocl
C-Achard 7b79d5e
Updated utils test to avoid Voronoi-Otsu
C-Achard 6e81c3f
Relabeling tests
C-Achard 75246f4
Latest pre-commit hooks
C-Achard 8b4f5ba
Run full suite of pre-commit hooks
C-Achard d9dc775
Enforce style
C-Achard 234dfaa
Instance segmentation refactor + Voronoi-Otsu
C-Achard a46b590
Disabled small removal in Voronoi-Otsu
C-Achard 3ce6f28
Added new docs for instance seg
C-Achard b736337
Docs + UI update
C-Achard ba53463
Update requirements.txt
C-Achard b286727
isort
C-Achard 85976b6
Fix tests
C-Achard ef67ac1
Fixed parental issues and instance seg widget init
C-Achard 07da249
Fix inference
C-Achard 7740517
Added labeling tools + UI tweaks
C-Achard fc957e2
Testing instance methods
C-Achard 2bafffc
Many fixes
C-Achard fd11680
black
C-Achard 1f95455
Complete instance method evaluation
C-Achard 54519ac
Added pre-commit hooks
C-Achard 9887cc7
Update .pre-commit-config.yaml
C-Achard 2b0bb6d
Update pyproject.toml
C-Achard c978043
Update pyproject.toml
C-Achard 2bf9494
Enfore pre-commit style
C-Achard 51a6c35
Update .gitignore
C-Achard c2e90f7
Version bump
C-Achard 2354211
Revert "Version bump"
C-Achard 22868a5
Updated project files
C-Achard 0e403b8
Fixed missing parent error
C-Achard b6fc3f6
Fixed wrong value in instance sliders
C-Achard 11e0dcc
Removing dask-image
C-Achard 5db5b78
Fixed erroneous dtype conversion
C-Achard e80a655
Update test_plugin_utils.py
C-Achard deb4592
Update plugin_convert.py
C-Achard d6c359b
Update tox.ini
C-Achard c0cbbbe
Update tox.ini
C-Achard 80f6ea3
Found existing pocl
C-Achard 5e5f63c
Updated utils test to avoid Voronoi-Otsu
C-Achard 94384db
Relabeling tests
C-Achard 757c8b0
Added new pre-commit hooks
C-Achard 8b0c7a8
Latest pre-commit hooks
C-Achard dcdfaca
Run full suite of pre-commit hooks
C-Achard 122a733
Model class refactor
C-Achard 926125d
Added LR scheduler in training
C-Achard e8a3e95
Update assess_instance.ipynb
C-Achard 954cc54
Update .gitignore
C-Achard 4fc31ba
Started adding WNet
C-Achard 8f0ca84
Specify no grad in inference
C-Achard 8a36ebf
First functional WNet inference, no CRF
C-Achard fbfc513
Create test_models.py
C-Achard b280f4b
Run full suite of pre-commit hooks
C-Achard c2b5168
Patch for tests action + style
C-Achard 0376621
Add softNCuts basic test
C-Achard 181a934
Added crf
C-Achard 164eac6
More pre-commit checks
C-Achard ebdfd7c
Functional CRF
C-Achard 106f4b7
Fix erroneous test comment, added toggle for crf
C-Achard c5bd372
Specify missing test deps
C-Achard ae5810b
Trying to fix deps on Git
C-Achard 1f7dae9
Removed master link to pydensecrf
C-Achard fd1c6c6
Use commit hash
C-Achard 4401b89
Removed commit hash
C-Achard c0f851a
Removed master
C-Achard 781cd0d
Update tox.ini
C-Achard a3c9dbf
Update pyproject.toml
C-Achard 8c93b65
Fixes and improvements
C-Achard de939c0
Fixes and channel labeling prototype
C-Achard 33a6da8
Fixes
C-Achard 23261e2
Update plugin_model_inference.py
C-Achard 04a44d0
Fixed patch_func sample number mismatch
C-Achard 314ddd4
Testing relabel tools
C-Achard aa228a8
Fixes in inference
C-Achard db6ed07
add model template + fix test + wnet loading opti
C-Achard 277d2b5
Update model_WNet.py
C-Achard 6269c93
Update model_VNet.py
C-Achard 4d7bd24
Fixed folder creation when saving to folder
C-Achard 333a0c3
Fix check_ready for results filewidget
C-Achard b1d2bac
Added remapping in WNet + ruff config
C-Achard cb26f76
Run new hooks
C-Achard 526e7ba
Small docs update
C-Achard 1dc6715
Testing fix
C-Achard 4fe2e6d
Fixed multithread testing (locally)
C-Achard 259823a
Added proper tests for train/infer
C-Achard 8d30d5c
Slight coverage increase
C-Achard e83847d
Update test_plugin_inference.py
C-Achard 25fe3d7
Set window inference to 64 for WNet
C-Achard 644038e
Moved normalization to the correct place
C-Achard 14b3516
Added auto-set dims for cropping
C-Achard e3ea954
Update test_plugin_utils.py
C-Achard 6d47bb2
More WNet
C-Achard 8fd582d
Update crf test/deps for testing
C-Achard ced0422
Update test_and_deploy.yml
C-Achard ba51551
Update test_and_deploy.yml
C-Achard 2deb7a8
Update tox.ini
C-Achard 8820c2b
Update test_and_deploy.yml
C-Achard 3a03e27
Trying to fix tox install of pydensecrf
C-Achard dcd1f7e
Added experimental ONNX support for inference
C-Achard 3ba51f7
Updated WNet for ONNX conversion
C-Achard 99e7e2a
Added dropout param
C-Achard 8678bfb
Minor fixes in training
C-Achard 858fe7e
Fix weights file extension in inference + coverage
C-Achard 41b5ba4
Run all hooks
C-Achard 0463e2e
Fix inference testing
C-Achard b8bc533
Changed anisotropy calculation
C-Achard 560afc9
Fixed aniso correction and CRF interaction
C-Achard 91e923b
Remove duplicate tests
C-Achard 04eae7e
Finish rebase + changed step to auto in spinbox
C-Achard 06d3ef3
Merge
C-Achard 7c6e3c8
Updated based on feedback from CYHSM
C-Achard 41a2194
Added minimal WNet notebook for training
C-Achard 2ba3603
Remove dask
C-Achard 02fdcf7
WNet model docs
C-Achard 1839f39
Added QoL shape info for layer selecter
C-Achard d639b21
WNet fixes + PR feedback improvements
C-Achard 3083705
Added imagecodecs to open external datasets
C-Achard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| [report] | ||
| exclude_lines = | ||
| if __name__ == .__main__.: | ||
|
|
||
| [run] | ||
| omit = | ||
| napari_cellseg3d/setup.py |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| instance_segmentation.py | ||
| =========================================== | ||
|
|
||
| Classes | ||
| ------------- | ||
|
|
||
| InstanceMethod | ||
| ************************************** | ||
| .. autoclass:: napari_cellseg3d.code_models.instance_segmentation::InstanceMethod | ||
| :members: __init__ | ||
|
|
||
| ConnectedComponents | ||
| ************************************** | ||
| .. autoclass:: napari_cellseg3d.code_models.instance_segmentation::ConnectedComponents | ||
| :members: __init__ | ||
|
|
||
| Watershed | ||
| ************************************** | ||
| .. autoclass:: napari_cellseg3d.code_models.instance_segmentation::Watershed | ||
| :members: __init__ | ||
|
|
||
| VoronoiOtsu | ||
| ************************************** | ||
| .. autoclass:: napari_cellseg3d.code_models.instance_segmentation::VoronoiOtsu | ||
| :members: __init__ | ||
|
|
||
|
|
||
| Functions | ||
| ------------- | ||
|
|
||
| binary_connected | ||
| ************************************** | ||
| .. autofunction:: napari_cellseg3d.code_models.instance_segmentation::binary_connected | ||
|
|
||
| binary_watershed | ||
| ************************************** | ||
| .. autofunction:: napari_cellseg3d.code_models.instance_segmentation::binary_watershed | ||
|
|
||
| volume_stats | ||
| ************************************** | ||
| .. autofunction:: napari_cellseg3d.code_models.instance_segmentation::volume_stats | ||
|
|
||
| clear_small_objects | ||
| ************************************** | ||
| .. autofunction:: napari_cellseg3d.code_models.instance_segmentation::clear_small_objects | ||
|
|
||
| to_instance | ||
| ************************************** | ||
| .. autofunction:: napari_cellseg3d.code_models.instance_segmentation::to_instance | ||
|
|
||
| to_semantic | ||
| ************************************** | ||
| .. autofunction:: napari_cellseg3d.code_models.instance_segmentation::to_semantic |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.