Code Monkey home page Code Monkey logo

Comments (3)

idealboy avatar idealboy commented on July 4, 2024

whether I have a mistake for training and testing.

And I see get_patch in multiscalesrdata.py,

when training,I use script:

python main.py --model metardn --save metardn --ext sep --lr_decay 200 --epochs 1000 --n_GPUs 4 --batch_size 16

And I put DIV2K train images in the root directory : (bin HR LR_bicubic), getnerate the LR_bicubic in prepare_dataset

when testing, I use script:

./experiment/metardn/model/model_1000.pt --test_only --data_test DIV2K --dir_data ./benchmark --scale 1.5 --n_GPUs 1 --data_range 1-1 0 --batch_size 1

And I put DIV2K val images in the benchmark directory in root.

Thank you very much!

from meta-sr-pytorch.

idealboy avatar idealboy commented on July 4, 2024

Sir,

Is it because the resolution for the HR and LR is very big? It is normal to run main.py when I use Set5 for testing.

please help me to check this error with me, thank you very much!

from meta-sr-pytorch.

idealboy avatar idealboy commented on July 4, 2024

I think, I should split the input image into several sub-images with a shave, and then do the SR operations for each sub-image, and then , I can merge the result for each sub-image, finally, I will get the whole SR image.

Thank you, and I will close the question.

from meta-sr-pytorch.

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.