Since we're training region-based models that obtain SC segmentation and lesion segmentation together, the inference also results in a single file containing both the predictions with sc-seg = 1 and lesion-seg = 2. It would be more useful to separate them into two separate files so that the user can obtain whatever type of prediction they want.
TODO:
[x] Add an argument in run_inference.py that asks for the type of segmentation (sc or lesion) and only generates the outputs for either of them or both
Since we're training region-based models that obtain SC segmentation and lesion segmentation together, the inference also results in a single file containing both the predictions with
sc-seg = 1
andlesion-seg = 2
. It would be more useful to separate them into two separate files so that the user can obtain whatever type of prediction they want.TODO:
sc
orlesion
) and only generates the outputs for either of them or both