Skip to content
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

✨ Add WSI processing to EngineABC #737

Merged
merged 123 commits into from
Apr 26, 2024

Conversation

AbishekRajVG
Copy link
Contributor

@AbishekRajVG AbishekRajVG commented Nov 10, 2023

Implements cache mode for processing using EngineABC. Cache_mode saves intermediate results to zarr file which can be converted to AnnotationStore. Full WSI pipeline needs to be implemented for Engines inheriting the base class.

The output of models should be a dictionary according to the new Engine design.

@AbishekRajVG AbishekRajVG added the dev tools Changes/Updates in Development tools label Nov 10, 2023
@AbishekRajVG AbishekRajVG self-assigned this Nov 10, 2023
@AbishekRajVG AbishekRajVG added enhancement New feature or request and removed dev tools Changes/Updates in Development tools labels Nov 10, 2023
@shaneahmed shaneahmed changed the title Updating Engine ABC for Whole Slide Images ✨ Add WSI processing to EngineABC Nov 10, 2023
@shaneahmed shaneahmed added this to the Release v2.0.0 milestone Nov 10, 2023
Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Attention: Patch coverage is 86.29442% with 27 lines in your changes are missing coverage. Please review.

Project coverage is 89.49%. Comparing base (d84ab45) to head (16332b1).
Report is 227 commits behind head on dev-define-engines-abc.

❗ Current head 16332b1 differs from pull request most recent head 0af9a32. Consider uploading reports for the commit 0af9a32 to get more accurate results

Files Patch % Lines
tiatoolbox/utils/misc.py 50.94% 26 Missing ⚠️
tiatoolbox/models/architecture/vanilla.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@                     Coverage Diff                     @@
##           dev-define-engines-abc     #737       +/-   ##
===========================================================
- Coverage                   99.77%   89.49%   -10.29%     
===========================================================
  Files                          63       71        +8     
  Lines                        6784     8834     +2050     
  Branches                     1352     1697      +345     
===========================================================
+ Hits                         6769     7906     +1137     
- Misses                          7      913      +906     
- Partials                        8       15        +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@measty measty left a comment

Choose a reason for hiding this comment

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

Loos good so far, just added a few comments.

It will be easier to give feedback and see any issues that might need to be addressed once we start trying to implement the other engines we have using this ABC.

tiatoolbox/models/engine/engine_abc.py Show resolved Hide resolved
tiatoolbox/models/engine/engine_abc.py Outdated Show resolved Hide resolved
tiatoolbox/models/engine/engine_abc.py Show resolved Hide resolved
tiatoolbox/utils/misc.py Outdated Show resolved Hide resolved
tiatoolbox/models/engine/engine_abc.py Outdated Show resolved Hide resolved
@TissueImageAnalytics TissueImageAnalytics deleted a comment from Abdol Mar 22, 2024
tiatoolbox/utils/misc.py Outdated Show resolved Hide resolved
tiatoolbox/utils/misc.py Outdated Show resolved Hide resolved
@Abdol
Copy link
Collaborator

Abdol commented Mar 22, 2024

Thanks @shaneahmed. Only minor comments from my side.

Copy link
Collaborator

@mostafajahanifar mostafajahanifar left a comment

Choose a reason for hiding this comment

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

All looks good to me 💯

Well done on this PR 👍

@shaneahmed shaneahmed merged commit 466d005 into dev-define-engines-abc Apr 26, 2024
12 of 13 checks passed
@shaneahmed shaneahmed deleted the dev-update-engine-abc-wsi branch April 26, 2024 13:12
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.

6 participants