yeerwen / UniSeg

MICCAI 2023 Paper (Early Acceptance)
Other
174 stars 5 forks source link

How to inference unlabelled data #5

Closed angolin22 closed 1 year ago

angolin22 commented 1 year ago

Thanks for your work, this helps me a lot, so I want to ask some question.

  1. May I ask how to use the model trained on 11 upstream datasets to inference unlabeled data?
  2. When I use the model trained on 11 upstream datasets to predict and inference unlabeled data, could I obtain the labels of all organs, tumors and vertebrae in these 11 upstream datasets?
yeerwen commented 1 year ago

For Q1: We didn't consider the inference of the new data in the latest version of our code. If you want to do so, there are some necessary changes that need to be made to our code. Specifically, you need to concern the code of nnUNet_predict in the nnUNet framework to let the framework know the ongoing task. Thanks for your reminder, we will implement the above functionality and provide the code tomorrow.

For Q2: No, our UniSeg can only predict all targets for a specific task in one iteration when the batch size is set to 1.

angolin22 commented 1 year ago

Thanks very much for your reply. I want to ask: when predicting, how do I set up the prediction for a specific task or where is this part of the code?

yeerwen commented 1 year ago

We are implementing this part of the code.

yeerwen commented 1 year ago

Hi, we have uploaded this part of the code.