I’m implementing fast neural style and super resolution in pytorch with pillow 4.3 and python 3.6 and am getting random green, red, and yellow pixels. I have tried pillow-simd and several versions of normal pillow and the problem persists. Has anyone else experienced something like this?
This is likely a bug in my implementation or a problem with the Image library but I thought this may be the best place to seek help, thanks in advance!


Criterion here: https://github.com/A-Jacobson/paper_implementations/blob/master/Fast_Style_Transfer/criterion.py 6
4x Super resolution, same artifacts here: https://github.com/A-Jacobson/paper_implementations/blob/master/Super_Resolution/4x%20Super%20Resolution.ipynb 10