Coder Social home page Coder Social logo

Comments (11)

silenceyear avatar silenceyear commented on July 3, 2024

me too

waifu2x-ncnn-vulkan -i ./src -o ./dst -s 2
[0 GeForce GTX 1060 6GB] queueC=2[8] queueT=1[2] memU=4294967295 memDL=7 memHV=9
[0 GeForce GTX 1060 6GB] fp16p=1 fp16s=1 fp16a=0 int8s=1 int8a=1
_wfopen ??? failed

GPU: GeForce GTX 1060 6GB
NVIDIA Driver version: 436.30

from waifu2x-ncnn-vulkan.

TacoDeBoss avatar TacoDeBoss commented on July 3, 2024

I had a similar issue, but explicitly specifying the model directory with the -m flag fixed it. I'm getting garbled image outputs though.
My old issue:

fopen models-cunet/noise2_scale2.0x_model.param failed
fopen models-cunet/noise2_scale2.0x_model.bin failed
Segmentation fault

from waifu2x-ncnn-vulkan.

XCanG avatar XCanG commented on July 3, 2024

Tried adding -m, but issue don't change. Commands are:

>waifu2x-ncnn-vulkan -i i.jpg -o o.png -n 2 -s 2 -m models-cunet
>waifu2x-ncnn-vulkan -i i.jpg -o o.png -n 2 -s 2 -m models-upconv_7_anime_style_art_rgb

from waifu2x-ncnn-vulkan.

gnattu avatar gnattu commented on July 3, 2024

I encountered similar situation, and I fount that I have to cd to the path of the program to make it work under windows(Windows Server 2019 DC). And everything is fine under Linux.

from waifu2x-ncnn-vulkan.

XCanG avatar XCanG commented on July 3, 2024

Wow, that really fix issue, it work for me if I call command in same folder with exe.

from waifu2x-ncnn-vulkan.

symant233 avatar symant233 commented on July 3, 2024

Same here, but I'd prefer call the .exe in another path, hope author could fix that soon... @nihui

from waifu2x-ncnn-vulkan.

Idesmi avatar Idesmi commented on July 3, 2024

This still happens to me, on Linux.
fopen models-upconv_7_photo/noise1_scale2.0x_model.param failed
fopen models-upconv_7_photo/noise1_scale2.0x_model.bin failed

When I cd in the directory containing models, instead, everything works.
This issue does not concern cunet's bins and params, which can be opened from anywhere.
I am using release 20200606.

from waifu2x-ncnn-vulkan.

Banderi avatar Banderi commented on July 3, 2024

Can confirm this still happens in Windows on 20200606 as well.

What I ended up doing is drop a batch script file as such in the folder:

@echo off
cd /d [>waifu program path<]
waifu2x-ncnn-vulkan -i %1 -o %2

This works from any command prompt window when added to PATH.

from waifu2x-ncnn-vulkan.

nihui avatar nihui commented on July 3, 2024

try the latest artifact build in CI

from waifu2x-ncnn-vulkan.

Banderi avatar Banderi commented on July 3, 2024

I tried the artifact from https://github.com/nihui/waifu2x-ncnn-vulkan/runs/909102954 and it seems to be working!
Here's the windows-2019 build: https://github.com/nihui/waifu2x-ncnn-vulkan/suites/962691968/artifacts/12130511

from waifu2x-ncnn-vulkan.

tannisroot avatar tannisroot commented on July 3, 2024

Still an issue for me with latest master on Linux:

waifu2x-ncnn-vulkan -i '/home/alex/waifu2x/i' -o '/home/alex/waifu2x/o' -m models-upconv_7_photo
[0 GeForce GTX 1070]  queueC=2[8]  queueG=0[16]  queueT=1[2]
[0 GeForce GTX 1070]  bugsbn1=0  buglbia=0  bugcopc=0  bugihfa=0
[0 GeForce GTX 1070]  fp16p=1  fp16s=1  fp16a=0  int8s=1  int8a=1
fopen /usr/bin/models-upconv_7_photo/noise0_scale2.0x_model.param failed
fopen /usr/bin/models-upconv_7_photo/noise0_scale2.0x_model.bin failed
find_blob_index_by_name Input1 failed
find_blob_index_by_name Eltwise4 failed

from waifu2x-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.