Skip to content

Conversation

@shaneahmed
Copy link
Member

@shaneahmed shaneahmed commented Nov 18, 2021

  • Add cli for nucleus instance segmentation
    • Add tests for cli and remove tests if cli is covering these.
  • Fix link for pretrained models in semantic segmentation
  • Rearrange add commands in cli
  • Replace get_wsireader with WSIReader.open as get_wsireader is being depreciated.
  • Update installation instructions for pygeos.
  • Fix OOM errors using garbage collection gc.collect().

- Add nucleus_instance_segmentor to cli
- Rename nucleus_instance_segmentor to nucleus_instance_segment
- Add missing nucleus_instance_segment file
- Add additional arguments to cli/nucleus_instance_segment
- Fix link to pretrained models
- Add test for cli/nucleus_instance_segment.
@codecov
Copy link

codecov bot commented Nov 18, 2021

Codecov Report

Merging #194 (95334be) into develop (27280fa) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #194      +/-   ##
===========================================
+ Coverage    99.74%   99.77%   +0.03%     
===========================================
  Files           44       45       +1     
  Lines         3540     3572      +32     
  Branches       576      577       +1     
===========================================
+ Hits          3531     3564      +33     
+ Misses           3        2       -1     
  Partials         6        6              
Impacted Files Coverage Δ
tiatoolbox/cli/semantic_segment.py 100.00% <ø> (ø)
tiatoolbox/models/dataset/abc.py 100.00% <ø> (+1.47%) ⬆️
...oolbox/models/engine/nucleus_instance_segmentor.py 98.41% <ø> (ø)
tiatoolbox/cli/__init__.py 100.00% <100.00%> (ø)
tiatoolbox/cli/nucleus_instance_segment.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27280fa...95334be. Read the comment docs.

- Fix test for cli-nucleus-instance-segment
- Fix test check in cli-nucleus-instance-segment
- Update installation instructions for pygeos on Windows.
- Update installation instructions for Windows
- Fix indention issue on rst.
- Add ioconfig to cli test for nucleus segment
…chunks

- Break tests/models/test_nucleus_instance_segmentor into smaller chunks
- Use pretrained_weights for nucleus_instance_segmentor
- Use smaller image in tests
- Update to smaller wsi for cli
Copy link
Contributor

@vqdang vqdang left a comment

Choose a reason for hiding this comment

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

Look ok. Thanks Shan.

- ON_Travis is True
- Add flag to ignore coverage
- Fix deepsource bug
- Add test without ioconfig
- Use smaller batch size for OOM errors on travis
- Use smaller image for test
- Use smaller image to avoid OOM on travis
- Use 512x512 image to avoid memory issues
@John-P John-P changed the title NEW: Feature cli for nucleus instance segmentation NEW: Feature CLI For Nucleus Instance Segmentation Nov 21, 2021
@shaneahmed shaneahmed merged commit d98e091 into develop Nov 22, 2021
@shaneahmed shaneahmed deleted the feature-cli-instancesegment branch November 22, 2021 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants