Giter Site home page Giter Site logo

Comments (3)

lj1995-computer-vision avatar lj1995-computer-vision commented on May 21, 2024 1

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.

zhouhang95 avatar zhouhang95 commented on May 21, 2024

ok

from realcugan-ncnn-vulkan.

ArchieMeng avatar ArchieMeng commented on May 21, 2024

相比起含义,我更想知道syncgap-mode的实现中,每个阶段具体都做了什么。因为我这边Android移植的话,这部分可能要在Java层面去实现。我自己看源码没太看明白,是实际推理分为了两个阶段还是啥的?

from realcugan-ncnn-vulkan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.