The CORN-Pro dataset can be download from Zenodo CORN-Pro
-
Adjust the data path to match the required structure:
train -> image, label
val -> image, label
test -> image, label
-
Begin by training the CNs task. Without specifying the
model_initialization
function, select modelsmodel_S
andmodel_T
, then runmain.py
to obtain the optimal segmentation model for CNs. -
Next, load the optimal weights from the CNs task using the
model_initialization
function. Then, invokemodel_S_adapter
andmodel_T_adapter
, and runmain.py
to derive the optimal segmentation model for LCs. -
Finally, use the same training setup for the LCs task to obtain the optimal segmentation model for the SCs task.
Load the optimal weights for the task, and then execute test.py
.