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

How to do few-shot segmentation in 5-shot setting using BAM with my image files #47

Open
takeshiho0531 opened this issue Jan 5, 2023 · 1 comment

Comments

@takeshiho0531
Copy link

Thank you very much for sharing your amazing work!

I am a complete beginner in computer vision.

I would like to do few-shot segmentation in 5-shot setting using BAM with my image data.
I have 5 jpg image files prepared by myself and their annotated png files as Support images and one Query image jpg file.
From here, I want to get the image data similar to the images shown in the BAM line of Visualization section in README.md of this repository.

However, I have no idea what code to write to achieve what I described above. Could you tell me what code to write?

@chunbolang
Copy link
Owner

Sorry for the late reply.

You should attempt to modify the test.py function for visualization and the get_item function in dataset.py for reading your private images.

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