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

Value Error at inference #9

Open
ManuBN786 opened this issue Nov 20, 2023 · 3 comments
Open

Value Error at inference #9

ManuBN786 opened this issue Nov 20, 2023 · 3 comments

Comments

@ManuBN786
Copy link

Screenshot from 2023-11-20 11-24-14

How to resolve this error please?

Also I want to know if this model can be used to segment images outside the 22 classes mentioned in the paper.

I'm planning to use it for lung nodules segmentation.

@LWHYC
Copy link
Collaborator

LWHYC commented Nov 21, 2023

Screenshot from 2023-11-20 11-24-14

How to resolve this error please?

Also I want to know if this model can be used to segment images outside the 22 classes mentioned in the paper.

I'm planning to use it for lung nodules segmentation.

Hi,
It seems like there is no fg pixel in your label. I suggest you check your support label data to make sure it contains your interested fg classes.
MedLSAM could be used to segment any anatomical structure and organs, but not the lesions and diseases. So it could not segment lung nodules.

@ManuBN786
Copy link
Author

Thanks for the reply.

Can you please provide some training scripts and methodologies so one can train this model for nodule detection?

@LWHYC
Copy link
Collaborator

LWHYC commented Jan 9, 2024

Author

Hi,
Sorry for the late reply. We have added the training code here: https://github.com/openmedlab/MedLSAM/tree/main/train

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

2 participants