Code Monkey home page Code Monkey logo

esrgan's People

Contributors

blueamulet avatar productiveasparagus56 avatar xinntao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

esrgan's Issues

SPSR Branch - Small File Issue

For some images, I get this issue:

Model: 4x_FireAlpha
Upscaling...
1 tex1_8x146_8284d79f89ef1c95_0
Traceback (most recent call last):
  File "C:\ESRGAN_Files\upscale.py", line 435, in <module>
    rlt = merge(rlts, scale, overlap, img_height,
  File "C:\ESRGAN_Files\upscale.py", line 150, in merge
    img[y, :] *= ((y + 1)/(rlt_overlap + 1))
IndexError: index 8 is out of bounds for axis 0 with size 8

The images are almost always very thin (~8px wide). I've attached a few that cause the error:

tex1_8x16_11fee22c23a7c18c_2
tex1_8x146_82d775b0ae8d3e54_0
tex1_8x146_8284d79f89ef1c95_0

How to split model across gpus?

Thanks for your work! And thanks for making FireAlpha!

It's just very often i get the out of memory error..
Can you give me some instruction on how to split the model across gpus, i.e. 3 gpus?
Thanks!!!

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.