Skip to content

Getting strange results when using pretrained settings #41

@DinosaurusAlbert

Description

@DinosaurusAlbert

Hi, I am new to image segmentation. Your method seems very promising but when I try loading your pretrained weights I get strange results. It does not seem to detect the shadows. I've downloaded the iter10000.pth file and load it using
net = build_model() checkpoint = torch.load('iter_10000.pth',map_location=torch.device('cpu')) net.load_state_dict(checkpoint)
then I run
xxx=net(img_var)[0][0] res = torch.sigmoid(xxx)
However, the masked images it is outputting are off. Please compare the ground truth image, input, and my result. It is doing some sort of segmentation, but it is not accurately finding the shadows. I am sure I am loading the wrong model or doing something wrong in the settings. Do you have any pointers to what I am doing wrong? Thanks very much!

13191932324_cb403f5c0e jpg_ground_truth
13191932324_cb403f5c0e jpg_original
13191932324_cb403f5c0e jpg_mask2ed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions