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

Fixes for cli segment #73

Merged

Conversation

hasan7n
Copy link
Contributor

@hasan7n hasan7n commented Aug 28, 2023

Fixes issue #(Enter issue number here)

Proposed Changes

- remove `-ptd` to load inference_loader instead of trainval_loader
- rename paths for output files as expected by fusion code
@hasan7n
Copy link
Contributor Author

hasan7n commented Aug 28, 2023

Result of running: FeTS_CLI_Segment -d /data_renamed -a fets_singlet,fets_triplet -lF STAPLE,ITKVoting,SIMPLE,MajorityVoting -g 0 -t 0:

root@3bb2af1add88:/Front-End# tree /data_renamed/
/data_renamed/
|-- BraTS-GLI-00001-001
|   |-- BraTS-GLI-00001-001_flair.nii.gz
|   |-- BraTS-GLI-00001-001_t1.nii.gz
|   |-- BraTS-GLI-00001-001_t1ce.nii.gz
|   |-- BraTS-GLI-00001-001_t2.nii.gz
|   `-- SegmentationsForQC
|       |-- BraTS-GLI-00001-001_fused_itkvoting_seg.nii.gz
|       |-- BraTS-GLI-00001-001_fused_majorityvoting_seg.nii.gz
|       |-- BraTS-GLI-00001-001_fused_simple_seg.nii.gz
|       |-- BraTS-GLI-00001-001_fused_staple_seg.nii.gz
|       |-- fets_singlet
|       |   |-- BraTS-GLI-00001-001
|       |   |   |-- BraTS-GLI-00001-001_fets_singlet_seg.nii.gz
|       |   |   `-- _t1.nii.gz
|       |   `-- _fets_singlet_subdirs_to_scores.pkl
|       |-- fets_singlet.nii.gz
|       |-- fets_triplet
|       |   |-- BraTS-GLI-00001-001
|       |   |   |-- BraTS-GLI-00001-001_fets_triplet_seg.nii.gz
|       |   |   `-- _t1.nii.gz
|       |   `-- _fets_triplet_subdirs_to_scores.pkl
|       `-- fets_triplet.nii.gz
|-- BraTS-GLI-00015-000
|   |-- BraTS-GLI-00015-000_flair.nii.gz
|   |-- BraTS-GLI-00015-000_t1.nii.gz
|   |-- BraTS-GLI-00015-000_t1ce.nii.gz
|   |-- BraTS-GLI-00015-000_t2.nii.gz
|   `-- SegmentationsForQC
|       |-- BraTS-GLI-00015-000_fused_itkvoting_seg.nii.gz
|       |-- BraTS-GLI-00015-000_fused_majorityvoting_seg.nii.gz
|       |-- BraTS-GLI-00015-000_fused_simple_seg.nii.gz
|       |-- BraTS-GLI-00015-000_fused_staple_seg.nii.gz
|       |-- fets_singlet
|       |   |-- BraTS-GLI-00015-000
|       |   |   |-- BraTS-GLI-00015-000_fets_singlet_seg.nii.gz
|       |   |   `-- _t1.nii.gz
|       |   `-- _fets_singlet_subdirs_to_scores.pkl
|       |-- fets_singlet.nii.gz
|       |-- fets_triplet
|       |   |-- BraTS-GLI-00015-000
|       |   |   |-- BraTS-GLI-00015-000_fets_triplet_seg.nii.gz
|       |   |   `-- _t1.nii.gz
|       |   `-- _fets_triplet_subdirs_to_scores.pkl
|       `-- fets_triplet.nii.gz
`-- logs

13 directories, 32 files

Copy link
Member

@sarthakpati sarthakpati left a comment

Choose a reason for hiding this comment

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

LGTM

@sarthakpati sarthakpati merged commit 25eb0ca into FeTS-AI:fixing_docker_build_for_1.0 Aug 31, 2023
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.

2 participants