Comments (3)
RT
@zhouhang95
syncgap-mode是一个速度和效果的trade-off。由于省显存需要,需要对全图进行分块分别处理,分别处理最后汇总成处理完的大图,整个pipeline中,有一些位置需要对一些gap参数同步(sync-gap)
0最快:不同patch之间可能造成切割线
1最慢:效果无损
2速度适中:稍微对背景虚化的保留损失一点,纹理没什么损失
3最快:相比2对背景虚化的保留损失更多一点,纹理没什么损失
我的建议:
1、如果画面整体模糊程度一致,预实验发现没有切割线痕迹,可用mode0
2、如果有切割线(或者凭经验肯定有,不用做实验了),那么根据经验(或者实验)判断画面有无虚化部分:
如果没有,可直接用mode3
3、如果有,可以拿有背景虚化的图试试1和2,对比2的损失是否可以接受,也可以对比看看3是否可以接受
4、拿有代表性的样本选定完mode后,使用该mode对全片进行超分
from realcugan-ncnn-vulkan.
ok
from realcugan-ncnn-vulkan.
相比起含义,我更想知道syncgap-mode的实现中,每个阶段具体都做了什么。因为我这边Android移植的话,这部分可能要在Java层面去实现。我自己看源码没太看明白,是实际推理分为了两个阶段还是啥的?
from realcugan-ncnn-vulkan.
Related Issues (20)
- Is there a way to specify the "alpha" parameter?
- i want model-pro 1x please
- Run Error on Ubuntu 20.04 HOT 3
- Your Results in New Super-Resolution Benchmarks
- up4x-denoise2x and up4x-denoise1x missing files
- ERROR: Could not build wheels for realcugan_ncnn_vulkan_python, which is required to install pyproject.toml-based projects
- How to build on MACos
- 输出为目录方式不起作用 invalid outputpath extension type HOT 1
- ninja: error: ... Filename longer than 260 characters when installing
- suggestion: configuration parameter for VRAM usage HOT 1
- 4x doesn't output, either silent exit or error HOT 1
- 出现 vulkan-1.dll 找不到
- 3D realistic pictures HOT 1
- Easy Drag and Drop Acceptable Batchfile for Windows HOT 2
- Video Conversion HOT 2
- tilesize=400的意义是什么? HOT 3
- anyway to use with stdin/out? HOT 1
- 色彩出现混乱 HOT 1
- Security Address
- The implementation of pro model is inconsistent with the original repository
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 realcugan-ncnn-vulkan.