Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instruments prediction #30

Open
zapaishchykova opened this issue Jul 15, 2019 · 2 comments
Open

Instruments prediction #30

zapaishchykova opened this issue Jul 15, 2019 · 2 comments

Comments

@zapaishchykova
Copy link

zapaishchykova commented Jul 15, 2019

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?

@tonyreina
Copy link

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.

@WELLBEINGLWB
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants