Replies: 2 comments 28 replies
-
I'm returning to this problem and any help would be much appreciated please. Thanks in advance |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @jnc13 , Thanks for your interest here. Thanks. |
Beta Was this translation helpful? Give feedback.
28 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to save my completed segmentations to a different directory structure than default: rather than folders of name 0,1,2.. I'd like to use the input case/image names: S01,S02,S03...
The code I'm using is:
I realise there is now SegmentationSaver, but the project is wrapping up so I'd ideally get it working with my current implementation, if possible? I've tried reading the docs and spent ages trying to adjust it myself but with no luck.
Alternatively it is is easier I'd be happy to just save all the segmentations to the main output_dir but to change the output filename to each case name eg S01_seg, S02_seg..., but again I can't figure out how to modify the default 0,1,2 etc
Any assistance would be much appreciated!
Edit: To be clear, I know in principal how to set things to the case/image ID (eg f"{case_name[i]}") but my issue is how/where I can add this arguement.
Beta Was this translation helpful? Give feedback.
All reactions