Skip to content

Conversation

@C-Achard
Copy link
Collaborator

@C-Achard C-Achard commented Jul 27, 2022

Completed PR for #7

Features :

ISSUES :

  • Proper button behaviour
  • Orientation of the output can be wrong sometimes, will have to determine best default case -> will be addressed separately
  • Testing all features
  • Proper error handling/reset when running a job without a folder/layer selected

C-Achard added 4 commits July 13, 2022 22:15
Functional prototype for single layer inference

Features :
- functional basic inference on selected layer
- improvements to inference code layout

MISSING :
- Proper button behaviour
- Error if no layer selected
- Full test of all functionalities
NOTE :
Layer orientation can be hard to determine, anisotropy ends up being wrong due to this depending on whether layer is loaded image or "original" from previous inference
@C-Achard C-Achard added the enhancement New feature or request label Jul 27, 2022
@C-Achard C-Achard self-assigned this Jul 27, 2022
C-Achard added 9 commits July 28, 2022 17:08
- Fixed button behaviour
- Fixed log text errors
Functional prototype for single layer inference

Features :
- functional basic inference on selected layer
- improvements to inference code layout

MISSING :
- Proper button behaviour
- Error if no layer selected
- Full test of all functionalities
NOTE :
Layer orientation can be hard to determine, anisotropy ends up being wrong due to this depending on whether layer is loaded image or "original" from previous inference
- Fixed button behaviour
- Fixed log text errors
- Rebased on rc3 main
- Removed debug prints
- Added tqdm to reqs
- Added more error handling for stats to csv (region.axis_minor_length value errors)
@deprecated-napari-hub-preview-bot
Copy link

deprecated-napari-hub-preview-bot bot commented Aug 10, 2022

Preview page for your plugin is ready here:
https://preview.napari-hub.org/AdaptiveMotorControlLab/CellSeg3d/26
Updated: 2022-08-12T13:27:29.608127

Fixed ref before assignment error
@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2022

Codecov Report

Merging #26 (083ebbf) into main (eb33f31) will decrease coverage by 1.11%.
The diff coverage is 13.82%.

@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   37.80%   36.68%   -1.12%     
==========================================
  Files          37       37              
  Lines        3383     3538     +155     
==========================================
+ Hits         1279     1298      +19     
- Misses       2104     2240     +136     
Impacted Files Coverage Δ
napari_cellseg3d/model_instance_seg.py 25.00% <0.00%> (-1.16%) ⬇️
napari_cellseg3d/models/model_SegResNet.py 45.45% <0.00%> (-4.55%) ⬇️
napari_cellseg3d/models/model_VNet.py 42.85% <0.00%> (-4.21%) ⬇️
napari_cellseg3d/plugin_helper.py 0.00% <ø> (ø)
napari_cellseg3d/plugin_model_inference.py 0.00% <0.00%> (ø)
napari_cellseg3d/plugin_model_training.py 63.36% <0.00%> (-0.86%) ⬇️
napari_cellseg3d/utils.py 32.77% <0.00%> (+1.19%) ⬆️
napari_cellseg3d/model_workers.py 15.76% <11.26%> (+0.49%) ⬆️
napari_cellseg3d/log_utility.py 29.78% <20.58%> (-23.55%) ⬇️
napari_cellseg3d/models/model_TRAILMAP.py 27.08% <21.95%> (-26.77%) ⬇️
... and 4 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@C-Achard C-Achard marked this pull request as ready for review August 10, 2022 08:57
@C-Achard C-Achard requested a review from MMathisLab August 10, 2022 08:57
@C-Achard C-Achard added the UI Related to the UI label Aug 11, 2022
Fixed duplicate code
- Should fix #25 by catching exceptions and quitting thread
Copy link
Contributor

@vidalmaxime vidalmaxime left a comment

Choose a reason for hiding this comment

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

Nice PR. If you remove the legacy comments in the code and address the small concerns in model_workers, it lgtm.

Copy link
Member

@MMathisLab MMathisLab left a comment

Choose a reason for hiding this comment

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

agree with removing some print statements, looks great!

- Refactored inference on folder/layer to not have horrible duplicates
@C-Achard C-Achard requested a review from vidalmaxime August 12, 2022 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request UI Related to the UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants