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

Problem of missing classes #11

Open
YichiZhang98 opened this issue Nov 23, 2023 · 1 comment
Open

Problem of missing classes #11

YichiZhang98 opened this issue Nov 23, 2023 · 1 comment

Comments

@YichiZhang98
Copy link

Hi, thanks for your nice work! However, I have several questions about adapting this framework to new datasets concerning the problem of missing classes. For example, if I want to segment 4 organs. However, for some images, there only exists 3 organs, (the other organ may be excised and not exist in this image).

  1. When we use images with missing classes as support image, it will raise an error due to the missing class.
  2. When we inference images with missing classes, the output of MedLAM for this class seems to have no meaning since this target does not exist.

Do you have any suggestions?

Best regards.

@LWHYC
Copy link
Collaborator

LWHYC commented Nov 25, 2023

Hi, thanks for your nice work! However, I have several questions about adapting this framework to new datasets concerning the problem of missing classes. For example, if I want to segment 4 organs. However, for some images, there only exists 3 organs, (the other organ may be excised and not exist in this image).

  1. When we use images with missing classes as support image, it will raise an error due to the missing class.
  2. When we inference images with missing classes, the output of MedLAM for this class seems to have no meaning since this target does not exist.

Do you have any suggestions?

Best regards.

Hi,
thanks for your interest in MedLSAM!

  1. Unfortunately, it's not possible to use support images without all the interested classes in our current MedLAM framework.
  2. Your observation is correct. In MedLAM, localization involves two steps: Unified Anatomical Mapping (UAM) and Multi Scale Similarity (MSS). UAM moves initial random points by calculating relative positions, so we can determine if the movement goes beyond the image itself. We plan to add this check in future updates to ascertain if a class is missing.

Best.

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