Comments (7)
from realsr-ncnn-vulkan.
That same question :)
from realsr-ncnn-vulkan.
If you want a much simpler solution (Literally drag and drop), you can download Cupscale, and:
1: Navigate in your Cupscale directory to CupscaleData\bin\pth2ncnn
2: Place your .pth model into the folder with the pth2ncnn.exe, and then drag that model onto the executable. A CMD will open and begin converting the model into a bin and param file for use with NCNN executables. Your files will be placed in a subfolder with the name of the file you converted, though you'll want to rename the converted files back to the original.
Hope this helps.
from realsr-ncnn-vulkan.
I tried the pth2ncnn.exe . It opens the CMD window for a split second then closes it, but no files are written. I'm on a Mac running windows 10 on Parallels... It has full disk access... any idea what's happening? Thanks!
from realsr-ncnn-vulkan.
I tried the pth2ncnn.exe . It opens the CMD window for a split second then closes it, but no files are written. I'm on a Mac running windows 10 on Parallels... It has full disk access... any idea what's happening? Thanks!
I have no idea. Can you get an idea of what the CMD is saying? That's the only way I know could help.
from realsr-ncnn-vulkan.
i tried it too with pth2ncnn.exe and a model (.pth) drag-n-drop.
the message is only for a split second visible on CMD.
The Message looks something like that:
Loading model
Traceback (most recent call last):
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 193, in run_module_as_main
File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 85, in run_code
File "D:\Temp\Real-ESRGAN\Temp\Cupscale 1.39.0f1\CupscaleData\bin\pth2ncnn\pth2ncnn.exe_main.py~", line 440, in
File "D:\Temp\Real-ESRGAN\Temp\Cupscale 1.39.0f1\CupscaleData\bin\pth2ncnn\pth2ncnn.exe_main.py~", line 361, in main
KeyError: 'model.0.weight'
from realsr-ncnn-vulkan.
Okay, well, I'd say post about it on Cupscale's repo. I doubt it's of use here.
from realsr-ncnn-vulkan.
Related Issues (20)
- weird error message, if the output directory doesn't exist
- Problem with other model HOT 1
- How can i build it with vs2017
- Does the code of real-esrgan-ncnn-vulkan release package is same as this? HOT 1
- 这个不能进行图像下采样吗?
- how to make it support 16bit image?
- CMake build with USE_STATIC_MOLTENVK=ON is still linking the vulkan loader library on MacOS
- Is there an Android demo in this library HOT 3
- What if the gpu doesn't support support_int8_storage? HOT 3
- is it possible to get GFPGAN NCNN Vulkan?
- I tried custom model to load with executable...
- Your Results in New Super-Resolution Benchmarks
- Can only scale up by 4X HOT 1
- DeepDeblur to NCNN-Vulkan HOT 1
- vkCreateInstance failed -9, invalid gpu device on google.colab HOT 2
- core dump on GPU H100 HOT 2
- Security Address HOT 4
- realsr ncnn vulkan gives the output as a black image HOT 1
- vkQueueSubmit failed -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 realsr-ncnn-vulkan.