Closed guanjhensu closed 6 years ago
I try the example iOS code provided by this repo.
https://github.com/prisma-ai/torch2coreml/tree/master/example/fast-neural-style/ios
The coreml model is only ~10MB. However, the memory usage is very high, usually up to 200MB, which causes the app to terminated due to memory issue sometimes.
You can decrease input size, thus it need to find a balance between quality (input size) and performance/resource usage.
Thanks for your comment. It works!
I try the example iOS code provided by this repo.
https://github.com/prisma-ai/torch2coreml/tree/master/example/fast-neural-style/ios
The coreml model is only ~10MB. However, the memory usage is very high, usually up to 200MB, which causes the app to terminated due to memory issue sometimes.