Can someone explain why the custom images do not give correct outputs even after labelling and everything done appropriately?
I am getting the exact same results when I create my custom mask using the parse.pytorch model, and the test.py function as given in another issue reported here. These are the outputs which are identical to using the masked images from your model on the images in CelebAHQ dataset.

But when I try my custom image, the model falls apart. It seems like the model is inputting another image all of a sudden.
Yes I cropped the image to 1024*1024 before proceeding, were there any other transformations required?

Can someone explain why the custom images do not give correct outputs even after labelling and everything done appropriately?
I am getting the exact same results when I create my custom mask using the parse.pytorch model, and the test.py function as given in another issue reported here. These are the outputs which are identical to using the masked images from your model on the images in CelebAHQ dataset.
But when I try my custom image, the model falls apart. It seems like the model is inputting another image all of a sudden.
Yes I cropped the image to 1024*1024 before proceeding, were there any other transformations required?