Skip to content
Discussion options

You must be logged in to vote

Hi @dyollb,

I see you are using torch.nn.MSELoss and I don't see you are not converting the pred to labels (only leaky_relu). Isn't that a regression?

You're right, that's regression. However, the final version does not use regression. Here is the final version on the main branch: https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/radiology/lib/trainers/localization_vertebra.py#L64

For this particular task, I've changed from regression to segmentation because I've got better results. But I guess this depends on the task and the needs. Happy to share my experience on a call.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@dyollb
Comment options

@diazandr3s
Comment options

@dyollb
Comment options

@diazandr3s
Comment options

Answer selected by dyollb
@dyollb
Comment options

@diazandr3s
Comment options

@dyollb
Comment options

@diazandr3s
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants