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

Testing without Mask #4

Closed
ghost opened this issue Dec 18, 2021 · 1 comment
Closed

Testing without Mask #4

ghost opened this issue Dec 18, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 18, 2021

Hello! And thank you for your recent work, I do sincerely apologize for a silly question. I am new to the coding world, and was curious if it was possible to use your testing.py, without the mask requirement? That is, when using the test.py, it seems to be looking for a mask folder, from the dataset.py setup. Was hoping to compare a few complex images I do not have masks for to see how well it performs.

@zhao1f
Copy link
Member

zhao1f commented Dec 20, 2021

Hey, the authors require the masks for the ground truth evaluations, however, with a customized dataset, there might not be a real ground-truth mask.
For your concern, I think you could modify the test.py and remove the related usage of the masks.

for image, mask, shape, name in self.loader:

And most importantly, modify this line with return image, shape, name
return image, mask, shape, name

Hope these two modifications help you~

@zhao1f zhao1f closed this as completed Feb 28, 2022
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

1 participant