Coder Social home page Coder Social logo

Noise Reduction High Error about waifu2x HOT 10 CLOSED

nagadomi avatar nagadomi commented on July 4, 2024
Noise Reduction High Error

from waifu2x.

Comments (10)

nagadomi avatar nagadomi commented on July 4, 2024

Is that error in waifu2x.udp.jp? or your hosting server?

from waifu2x.

CharAznableLoNZ avatar CharAznableLoNZ commented on July 4, 2024

That error is being spit out through the WebUI on my own server.

from waifu2x.

nagadomi avatar nagadomi commented on July 4, 2024

Does command line tool work?

th waifu2x.lua

I don't know what’s happened. Maybe installation environment is broken.

from waifu2x.

CharAznableLoNZ avatar CharAznableLoNZ commented on July 4, 2024

Sorry for the late response.
I get the following when I enter that command.

user@Mami:~/.Waifu2X$ th waifu2x.lua
/usr/local/bin/luajit: /usr/local/share/lua/5.1/nn/Sequential.lua:39: cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-9392/cutorch/lib/THC/THCStorage.cu:30
stack traceback:
        [C]: in function 'updateOutput'
        /usr/local/share/lua/5.1/nn/Sequential.lua:39: in function 'forward'
        /home/user/.Waifu2X/lib/reconstruct.lua:41: in function 'reconstruct_rgb'
        /home/user/.Waifu2X/lib/reconstruct.lua:137: in function 'image'
        waifu2x.lua:36: in function 'convert_image'
        waifu2x.lua:116: in function 'waifu2x'
        waifu2x.lua:121: in main chunk
        [C]: in function 'dofile'
        /usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
        [C]: at 0x00404270

from waifu2x.

nagadomi avatar nagadomi commented on July 4, 2024

What is your GPU? It seems failed to allocate video memory.
And, try

th waifu2x.lua -crop_size 32

from waifu2x.

CharAznableLoNZ avatar CharAznableLoNZ commented on July 4, 2024

nVidia 440GT with 1Gb VRAM

The command ends in the same result.

from waifu2x.

nagadomi avatar nagadomi commented on July 4, 2024

Maybe this issue is caused by old GPU or torch7(cunn) layer.
The simplest solution is to use a high-end GPU. 😢

from waifu2x.

CharAznableLoNZ avatar CharAznableLoNZ commented on July 4, 2024

I was thinking that perhaps that was the issue.
When I can afford it, I'll get a better GPU for my server and see if that alleviates the issue.
As always, thanks for your hard work.

from waifu2x.

CharAznableLoNZ avatar CharAznableLoNZ commented on July 4, 2024

I have upgraded the card to a 550 TI and receive the following error.

user@Mami:~/.Waifu2X$ th waifu2x.lua
/usr/local/bin/luajit: /home/user/.Waifu2X/lib/LeakyReLU.lua:1: attempt to index global 'nn' (a nil value)
stack traceback:
        /home/user/.Waifu2X/lib/LeakyReLU.lua:1: in main chunk
        [C]: in function 'require'
        waifu2x.lua:4: in main chunk
        [C]: in function 'dofile'
        /usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
        [C]: at 0x00404270

from waifu2x.

CharAznableLoNZ avatar CharAznableLoNZ commented on July 4, 2024

The issue has been resolved, PCI VGA Palette Snooping was enabled on the BIOS by default. Disabling it fixes the issue.

from waifu2x.

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.