Not sure if this helps but I've tried the project you based this off[1] and that produces images correctly (or at least that look more like my expectations).
(I say "based", I'm not sure just how much of their code - if any - you used. But you did compliment them earlier in this discussion)
(I say "based", I'm not sure just how much of their code - if any - you used. But you did compliment them earlier in this discussion)
[1] https://tenso.rs/demos/fast-neural-style/