Ml5 style transfer using p5


I’m running into a strange problem when trying out the ml5 style transfer example and wonder if anyone might have any idea why. My models are being loaded and performing the transfer fine, but when I get the styled result image, it appears tripled, like the channels of the image were distorted. Here is a picture of some cats I styled using the “wave” model from the ml5 example. Does any one have any idea at all why this might happen!?!

I think there was/is a bug where only square images can be used. I think it is known on GitHub but haven’t checked in a while