JinchengKim / StyleTransfer-iOS

MIT License
175 stars 37 forks source link

iOS 11 12 都不能运行 #4

Open sunchao0427 opened 5 years ago

sunchao0427 commented 5 years ago

UIImage + ML.m pixelBufferBGRToImage:方法这一句 size_t width = CVPixelBufferGetWidth(pixelBuffer); 报错,其中地址0x7fa15e7385f0 是pixelBuffer的地址。 报错信息如下: 2019-01-11 10:26:35.665624+0800 StyleTransfer[24478:5258012] *** -[Not A Type _cfTypeID]: message sent to deallocated instance 0x7fa15e7385f0

JinchengKim commented 5 years ago

It is really old code. Maybe you can rewrite it in swift.