DeadSix27 / waifu2x-converter-cpp

Improved fork of Waifu2X C++ using OpenCL and OpenCV
MIT License
792 stars 86 forks source link

w2xcr does not supports unicode #138

Closed Veshurik closed 5 years ago

Veshurik commented 5 years ago

If I drag image on any .exe file, nothing happens. Well, almost all programs crashes.

Virtual Windows 7 machine.

w2xcr appears with blank window. 1

DeadSix27 commented 5 years ago

CUDA/CL in VMs requires a passed through gpu.

Try running via CLI only and select the cpu instead of the gpu, find IDs by using "-l"

About the crashing w2xcr, not sure. i recommend yuukis GUI anyway, the included one is very old and basic.

kattjevfel commented 5 years ago

CUDA/CL in VMs requires a passed through gpu.

Shouldn't it fallback to CPU then though?

DeadSix27 commented 5 years ago

Not if you have the CL or cuda packages installed, it detects those on my VM and just crashes when trying to use it. image

EDIT: that might also depend on OS/VMsettings though, but I remember having had issues with that.

EDIT2: maybe missing vcredist packages? But not sure, I never test(ed) on win7

EDIT3: if possible, maybe try building it yourself on that VM.. could be that binaries built with vs2019 are just incompatible with very old win versions?

YukihoAA commented 5 years ago

you cannot use by drag-and-drop images this program.

as this project is CLI Application, you need to use this by using cmd.exe

please check readme.md to use properly.

EDIT: As you can see, test_src is produced, so program is working good. It looks like crashing because cmd just splashes and gone without your images result but it works fine. We say "crash" when you got appcrash.exe like "Photoshop Application has stopped working"

EDIT2: actually you can use w2xcr by drag&drop but w2xcr does not supports unicode. if your file is under the non-english path, it will not working.

DeadSix27 commented 5 years ago

The w2xcr + non unicode might actually be the issue here I guess, since he seems to be using russian Language.