-
Notifications
You must be signed in to change notification settings - Fork 41
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
Unexpected Visualization of Segmented Masks #21
Comments
@halwai Can you reproduce the mIoU without any change? You can add the code for saving the mask in utils/miou.py after Line 72, |
@halwai are you using the same crop size in the original code? [380,380]. |
@MoAbd I haven't changed anything else, but the crop size is I get this by adding |
@liutinglt I have retried without any change and the results are still the same (reposting the results):
|
@halwai Is your environment same with me? conda env create -f environment.yaml |
@liutinglt Some minor differences exists for following Complete List of packages in the conda environment
|
@liutinglt any updates on this thread ? |
Did you solve the problem? I have the same problem。 |
I got this problem too. Is there any solution? |
Hm... I've just downloaded the code and model. I can't reproduce this problem. Here is what I am doing: 1) In
|
Hey @liutinglt ,
I was trying to generate the segmentation masks for the provided snapshot(
LIP_epoch_149.pth
) while usingevaluate.py
where I added the following changes after Line 87:where savePng saves the segmented image along-with corresponding original resized image.
Weirdly I get the following image (corresponding val image is also shown):

Could you please clarify this? Am I doing something wrong with inference.
Please ignore the colour coding.
Plus I get the following result:
Thanks,
Abhijeet
The text was updated successfully, but these errors were encountered: