Giter Club home page Giter Club logo

Comments (4)

NeedsMoar avatar NeedsMoar commented on May 10, 2024 1

I tried the above a while ago and chainner was producing corrupted ncnn output that neither the newer version of torch the system python had installed, or the old ncnn executables, or anything else could open. Chainner ends up being a gigantic install that you don't need if you have torch installed literally anywhere else, I have scripts written for the rare upscaling I need already, and I have way too many python installs thanks to every open and closed source program on the planet installing its own full python copy.

I've always used this:
https://drive.google.com/file/d/1ibGyGgUP1oCpJ73y_3z471m50Qa6A2GB/view
You really just need the tools subdirectory and pth2ncnn.exe... extract those somewhere then run pth2ncnn on the .pth file. It can't convert some newer types of models but AFAICT it works on everything this version of realesrgan can use. If it work's you'll get a subdirectory named after the model with the bin and params

from real-esrgan-ncnn-vulkan.

zjx424 avatar zjx424 commented on May 10, 2024

https://github.com/upscayl/upscayl/wiki/%F0%9F%96%A5%EF%B8%8F-Model-Conversion%E2%80%89%E2%80%93%E2%80%89Get-more-models!

i use chainner to convert pytorch .pth model to ncnn model

from real-esrgan-ncnn-vulkan.

Ohrwerk avatar Ohrwerk commented on May 10, 2024

Thanks for the HowTo with Chainer but no chainner version is running, i think my system is to old.

from real-esrgan-ncnn-vulkan.

Ohrwerk avatar Ohrwerk commented on May 10, 2024

Hello NeedsMoar,
thank you very much for sharing your tool and experiences.
Yes, it is similar with ffmpeg, although I cleaned it out some time ago, so I already have 10 times ffmpeg.exe on my disc again.
But unfortunately... yes I know, my system is completely outdated.
"ONNX Runtime supports Windows 10 and above, only"

I just can't cope with Linux, my system doesn't support 11, 10 would work as a snail but that doesn't make sense any more and I just don't like it for reasons. A new computer is a big investment, especially if you also want to switch to CUDA, and it doesn't match my philosophy either.
I could write novels here about why things are the way they are, but let's leave it at that. I also don't have anyone who would come round for dinner to help with problems.

from real-esrgan-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.