robot-surgery-segmentation icon indicating copy to clipboard operation
robot-surgery-segmentation copied to clipboard

Instruments prediction

Open zapaishchykova opened this issue 6 years ago • 2 comments

Hi! First of all, thank you for the great work! Secondly, I have a question: I have changed the model to detect instruments, like following: model = get_model(model_path, model_type='UNet11', problem_type='instruments') As a result in mask i receive a tensor with size 'torch.Size([1, 8, 320, 480])', where i suppose that 8 mean a mask per each instrument. But what i see is that masks 1,3,5,7 are the same as well as 2,4,6,8. ( so it looks like it just make two masks instead of 8) What I'm possibly doing wrong and how to get labels for each instrument?

zapaishchykova avatar Jul 15 '19 13:07 zapaishchykova

Were you able to figure this out? When I perform inference I'm getting negative and positive numbers for the pixel values. The binary example works, but not sure how to interpret the parts or instruments model outputs. Would anyone have an example of how to post-process those predictions? Thanks.

tonyreina avatar Oct 05 '19 01:10 tonyreina

Have you figured it out? I encountered the same issue. Thanks in advance for your response.

WELLBEINGLWB avatar Nov 21 '19 04:11 WELLBEINGLWB