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

About the commands to pretraining the model #11

Open
JiaxinZhuang opened this issue May 28, 2023 · 4 comments
Open

About the commands to pretraining the model #11

JiaxinZhuang opened this issue May 28, 2023 · 4 comments

Comments

@JiaxinZhuang
Copy link

Dear author, thanks for your impressive work.
Could you please offer some commands for how to pertain the mode on the totalsegmentator dataset?

@Ziyan-Huang
Copy link
Collaborator

Hello
You can use the standard nnUNet training script nnUNet_train to train the Trainer provided in our repository (STUNetTrainer) for 4000 epochs on the TotalSegmentator dataset.
Here is an example
nnUNet_train STUNetTrainer 3d_fullres TASKID FOLD
Please replace TASKID with the task ID for the TotalSegmentator dataset and FOLD with the fold number you want to train on.

@Airliin
Copy link

Airliin commented Oct 13, 2023

Hello author, thanks for your sharing,how do you handle a dataset when using the totalsegmentator for pre-training? Because the totalsegmentator does not have all categories of laber in every sample, is it also the way of totalsegmentator to add only the categories existing in each sample to the laber?

@Ziyan-Huang
Copy link
Collaborator

Hello,@Airliin

Thank you for your question! In the context of multi-class segmentation in medical imaging, especially when using Totalsegmentator which labels across 104 classes, it's common for some cases not to contain all existing labels. This is normal and expected as each image or case may only present a subset of conditions or structures.

If a category does not exist in a particular sample, it is typical not to mark it specially. Instead, you would just label the categories that do exist in each sample. The model will learn to recognize and segment different categories from the samples where those categories are present.

@Airliin
Copy link

Airliin commented Oct 13, 2023

Thank you for the prompt response!

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

No branches or pull requests

3 participants