All transformations must be held separately. Find out how to return/process async results of Alamofire requests to perform this refactoring for stylization
Since stylization is trained to deal with images of shape (256, 256, 3), it processes them correctly with no changes of shape. However, it standard IOS image of shape (485, 402, 3) (tested on iphone 7) is passed, it changes the shape of it. In this particular case, the resulting shape is (488, 404, 3).
For some weird reason IOS stores UIImages rotated by pi/2. It leads to a situation when rotated image is sent on backend. After stylization it returns back also rotated, but now gets displayed in rotated way. Figure out what's going on
UIImageViews currently stretch photos taken with the camera. It a problem for both image preview on main view and for big image on the second (stylization) view.