Coder Social home page Coder Social logo

Comments (9)

tumuyan avatar tumuyan commented on June 10, 2024

你好,是这样的,虽然同样是ncnn格式的模型,但是不同项目的模型可能需要重新实现推理程序。
你可以参考下nihui做的这些项目,https://github.com/tumuyan/RealSR-NCNN-Android?tab=readme-ov-file#ncnn-projects-and-models

整体的过程是图片分片,然后预处理,推理后再做后处理,最后把分片图片合并并完成存储。
虽然我做了平台移植以及凑数的gui,但是事实上并不能理解nihui的这些项目到底是怎么做到的。

from realsr-ncnn-android.

tumuyan avatar tumuyan commented on June 10, 2024

看了下你的截图,你的模型到底是几倍的?从命名上讲是一倍的,但是程序读取的时候似乎并没有正确找到1倍的模型。
如截图是我尝试运行一个正常的x1外置模型的画面
放置了 /storage/emulated/0/realsr/models-ESRGAN-Fatality_NoiseToner-sharpen_denoise/x1.param 和 /storage/emulated/0/realsr/models-ESRGAN-Fatality_NoiseToner-sharpen_denoise/x1.bin 两个文件

Screenshot_2024-04-17-11-32-08-758_com tumuyan ncnn realsr

from realsr-ncnn-android.

ZMxyxyxy avatar ZMxyxyxy commented on June 10, 2024

from realsr-ncnn-android.

ZMxyxyxy avatar ZMxyxyxy commented on June 10, 2024

from realsr-ncnn-android.

tumuyan avatar tumuyan commented on June 10, 2024

虽然希望不大,但是不应该在这一步出错。可以把文件名改为x2试试,ncnn模型可以打包上传一下我看看有没有机会。

from realsr-ncnn-android.

ZMxyxyxy avatar ZMxyxyxy commented on June 10, 2024

from realsr-ncnn-android.

tumuyan avatar tumuyan commented on June 10, 2024

似乎你并没有上传文件…

from realsr-ncnn-android.

ZMxyxyxy avatar ZMxyxyxy commented on June 10, 2024

您好,我通过邮箱发给您了,不知您是否收到

from realsr-ncnn-android.

tumuyan avatar tumuyan commented on June 10, 2024

没有收到邮件呢

from realsr-ncnn-android.

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.