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

error in sample #147

Open
wzx0720 opened this issue Dec 21, 2023 · 3 comments
Open

error in sample #147

wzx0720 opened this issue Dec 21, 2023 · 3 comments

Comments

@wzx0720
Copy link

wzx0720 commented Dec 21, 2023

First of all, thanks for your excellent work! I met a problem that when I run segmentation_sample.py, it only sample and infer 2 images. I wonder how can I solve this problem? Thanks a lot!

@amitshakyaymsli
Copy link

if you used the custom_dataset_loader.py file. You should modify the "self.name_list = image[:2]" to "self.name_list = image" similar with the labels.

@pedropesserl
Copy link
Contributor

why is it like that in the code? doesn't seem to make sense to get just the 2 first elements.

@wzx0720
Copy link
Author

wzx0720 commented Oct 16, 2024

why is it like that in the code? doesn't seem to make sense to get just the 2 first elements.

@pedropesserl I think you can try what amitshakyaymsli mentioned before:

if you used the custom_dataset_loader.py file. You should modify the "self.name_list = image[:2]" to "self.name_list = image" similar with the labels.

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