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

quicktest update & merge CerebNet.utils.metrics into FastSurferCNN.utils.metrics #590

Draft
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

taha-abdullah
Copy link
Contributor

  • Deleted CerebNet.utils.metrics.py and merged all functionality into FastSurferCNN.utils.metrics.py
  • refactoring usage across files
  • changed dice score implementation to numpy (tried MONAI and Ignite, didn't work out)
  • added support for multiple images in test_images
  • nested parameterization (subjects and test files) in test_images and test_stats

requirements.txt Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
.github/workflows/quicktest.yaml Outdated Show resolved Hide resolved
@taha-abdullah taha-abdullah force-pushed the pytest branch 2 times, most recently from fe5772b to 80884ad Compare October 8, 2024 12:52
Copy link
Member

@dkuegler dkuegler left a comment

Choose a reason for hiding this comment

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

We should do another iteration on metrics.

.github/workflows/quicktest.yaml Outdated Show resolved Hide resolved
FastSurferCNN/utils/metrics.py Outdated Show resolved Hide resolved
FastSurferCNN/utils/metrics.py Outdated Show resolved Hide resolved
FastSurferCNN/utils/metrics.py Outdated Show resolved Hide resolved
FastSurferCNN/utils/metrics.py Outdated Show resolved Hide resolved
FastSurferCNN/utils/metrics.py Show resolved Hide resolved
FastSurferCNN/utils/metrics.py Show resolved Hide resolved
FastSurferCNN/utils/metrics.py Show resolved Hide resolved
@dkuegler dkuegler changed the title Merge util.metrics.py from CerebNet and FastSurferCNN into one file quicktest update & merge CerebNet.utils.metrics into FastSurferCNN.utils.metrics Nov 21, 2024
@dkuegler dkuegler force-pushed the pytest branch 2 times, most recently from 6e4d61a to 12359d5 Compare January 7, 2025 16:56
@dkuegler dkuegler force-pushed the pytest branch 2 times, most recently from 9168e26 to 82e1f40 Compare January 20, 2025 15:00
@dkuegler dkuegler force-pushed the pytest branch 7 times, most recently from 25987dc to 328e5bb Compare January 21, 2025 16:03
taha-abdullah and others added 4 commits January 21, 2025 17:04
…ferCNN.utils.metrics.py

- Deleting CerebNet.utils.metrics.py
- refactoring usage across files
- Changing back to numpy dice score implementation
- removing CerebNet.utils.metrics.py from docs
- Parameterized tests in test_images.py and test_stats.py
- also added test configuration files for new filetypes
- rebased pytest-feture onto merge-metrics
- adding support for multiple images in test_images.py
- quicktest.yaml: commenting out trigger on pull request
- FastSurferCNN.utils.metrics.py: docstring changes
@dkuegler dkuegler force-pushed the pytest branch 2 times, most recently from fe7030d to 37c076c Compare January 21, 2025 16:37
- Add author to github actions
- Fix strings in quicktest workflow
- Add parameter options pr/**** for docker-image parameters (in addition to build-cached), which allows for building from prs via manually triggered actions
- Merge run and test of quicktest into one job to reduce clutter in reported checks
- Add cleanup option for run-fastsurfer action
- Add annotation with test results job to the quicktest workflow
- Clean up some formatting
- some minor bugfixes to FastSurferCNN.utils.common.SubjectDirectory
- Add overloads to FastSurferCNN.utils.mapper.Mapper.__call__ and some minor bugfixes to the Mapper class to make it a bit more straighforward to use
- Make the interface to FastSurferCNN.utils.mapper.TSVLookupTable by default more compatible with LUT.tsv and LUT.txt files (automatically detecting the correct format to read the file).
- Add dataframe_to_table (reverse to table_to_dataframe) and read_statsfile to FastSurferCNN.segstats (as importable functions that may be used to handling stats files and stats data)
- Update and rework the full quicktest pipeline including fixtures, required environment variables for configuration and data files with thresholds
Move thresholds files into data (instead of thresholds) and remove thresholds folder
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