Rethinking-Inpainting-MEDFE icon indicating copy to clipboard operation
Rethinking-Inpainting-MEDFE copied to clipboard

Queries about the test output

Open SayedNadim opened this issue 3 years ago • 1 comments

Hi, thanks for the good work. Can you please check whether this output is expected? output: output_407 input: 4 mask: mask_21

The only change I made was the following code in the test script.

.....
mask = mask_transform(mask)
detail = img_transform(detail)
structure = img_transform(structure)
mask = torch.unsqueeze(mask, 0)
detail = torch.unsqueeze(detail, 0)
structure = torch.unsqueeze(structure, 0)


detail = detail * (1 - mask) # masking the details
structure = structure * (1 - mask) # masking the structure
......

Thanks!

SayedNadim avatar Feb 09 '22 13:02 SayedNadim

I am very glad to hear from you.Thank you very much!

camellia120 avatar Feb 09 '22 13:02 camellia120