GithubHelp home page GithubHelp logo

HR/X4 LR/X4 about eesrgan HOT 3 CLOSED

jakaria08 avatar jakaria08 commented on June 13, 2024
HR/X4 LR/X4

from eesrgan.

Comments (3)

cl886699 avatar cl886699 commented on June 13, 2024 1

this also bother me a lot,in most detection task, we don't have the high resolution images. we can not downsample the original image, and then detect. it is more meaningful to contrast the detection result of original images to the detection result of super resolution images

from eesrgan.

Jakaria08 avatar Jakaria08 commented on June 13, 2024

For test input, we need only low-resolution images: 4x downsampled with 64 to 64 tile size for the COWC dataset. Then we get super-resolved images with detection.

For testing a new satellite dataset with a resolution around 0.6 m to 1 m, you should create tiles of 64 to 64 size for our architecture. You can also use larger tiles but might need a large GPU memory. With the new tiles, you also need to create corresponding .txt file for the annotations (similar formatting of COWC dataset).

For training a new dataset, you always need a high-low resolution image pairs with ground truth bounding boxes for detection. This architecture support 64 to 64 tiles for training. for example, If you have low-resolution images of 128 to 128 tiles, then you can create 512 to 512 super-resolve tiles. In that case, you need to change the fully connected layer of the discriminator here:

self.linear1 = nn.Linear(2048 * 4 * 4, 100)

Thank You.

from eesrgan.

spacewalk01 avatar spacewalk01 commented on June 13, 2024

@cl886699 you are right, that is the drawback of super-resolution models. Most of them are trained on images down-sampled from high-resolution images which tend to learn downsampling patterns. So, they don't work on actual low-resolution images.

from eesrgan.

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.