Comments (10)
Turned out that setting computeUnits in MLModelConfiguration to cpuAndGPU can bypass neural engine for now.
The MPSNN implementation is partially finished. It will be released if it can be faster or results in better quality than Core ML in benchmarks.
In the future if I could get hands on a device with A12 chip, I still wish to try fixing for neural engine since it should be much faster even than GPU mode.
from waifu2x-ios.
I can confirm the image quality issue on my XS 256GB. Artifacts are visible on color gradients, the final images are unusable.
Running in CPU only mode quality is good as expected, however the XS takes about twice as much time to complete a task when compared to a 7 Plus.
I am available for trying out new builds.
from waifu2x-ios.
With regard to the waifu2x app in the App Store (which is what I am testing), is/will this app rely on both cpu And GPU to run the Core ML model, then?
from waifu2x-ios.
With regard to the waifu2x app in the App Store (which is what I am testing), is/will this app rely on both cpu And GPU to run the Core ML model, then?
Currently it only has Core ML as back end, which relys on GPU. If GPU is not supported it will fallback to CPU.
from waifu2x-ios.
What bugs me (what I don’t understand since I am not an expert on this matter) is why the performance on iPhone 7 Plus (A10 SOC, no neural engine) is still ~2X faster than on XS, excluding neural engine factors.
Running both iPhone models in Cpu Only mode, I see the A12 benefits (~35% faster cpu than the A10 cpu).
Disabling the Cpu Only however, the latest XS app still generates artifacts, implying it is still trying to use the neural engine, instead of relying on the GPU (as the A10 does).
from waifu2x-ios.
Weird... The model.configuration.computeUnits
should have been set to .cpuAndGPU
. It seems that this fix is ineffective. I will try to get hands on a device with A12 chip. Also a MPSNN update will be considered before then.
from waifu2x-ios.
Can confirm, also an issue on A13
from waifu2x-ios.
Can confirm, also an issue on A13
Can you provide a demo image and configurations? I cannot reproduce this issue on iPhone 11 Pro even with neural engine enabled.
from waifu2x-ios.
Sorry, I meant with coreML implementation.
There is still some banding; not as much as a12, but not as smooth as MPSCNN.
Overall it’s fine but I’ll see if I can get an example once I get home from school
from waifu2x-ios.
from waifu2x-ios.
Related Issues (20)
- [Request] Custom ESRGAN models HOT 9
- Real-CUGAN模型缩放问题 HOT 2
- Does this app using RAM as cache or NAND as cache? HOT 2
- 6.2.5的CLI貌似用不了了 HOT 28
- 处理图片时报错 HOT 1
- Issues with Ventura 13.0.1 with command line usage HOT 15
- Fake description on system requirement HOT 1
- Memory Is Full HOT 2
- 内存不足什么时候解决 HOT 29
- 在Mac上购买过额外模型,在ios上需要重复购买事正常的吗? HOT 1
- Both GPUs in Mac Pro aren't being used. HOT 1
- iOS App 保存heic结果时无限转圈 HOT 5
- [Feature Request] Add Remacri Upscaler HOT 2
- 最近m2 芯片上直接卡死, 好奇怪 HOT 7
- CANNOT create file HOT 6
- あ
- 系统最低要求可以降低一点吗 HOT 1
- The iPad version no longer works at all. (iPad Pro (12.9 inch, 4th generation) HOT 2
- cannot use CUGAN model on iOS17 HOT 3
- Xcode Project is different from the lastest version in App Store HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waifu2x-ios.