swapping-autoencoder-pytorch icon indicating copy to clipboard operation
swapping-autoencoder-pytorch copied to clipboard

The outputs are not correct.

Open panhtt opened this issue 3 years ago • 2 comments

Hello, I load the checkpoints and testphotos, and run the command python -m experiments ffhq512_pretrained test swapping_grid and get the output

WechatIMG148

The same as other commands. I didn't modified the code. Is there something wrong?

My environment: python 3.7.3 pytorch 1.8.0

panhtt avatar Sep 13 '22 08:09 panhtt

I found this is because I built the bad custom kernel. It works fine, but outputs wrong results. When I use the original pytorch kernel (set is_custom_kernel_supported func always return False), I will get the correct outputs.

But I don't known why

panhtt avatar Sep 14 '22 06:09 panhtt

I don't exactly know the reason, but it could be that there is some mismatch between the compiled custom kernel and the current version? Could you delete the compiled kernels, and rebuild them?

taesungp avatar Sep 20 '22 20:09 taesungp