Code Monkey home page Code Monkey logo

Comments (4)

kelisiya avatar kelisiya commented on August 26, 2024

Hi, thanks for this excellent work! I would like to try on my own dataset (like hr_512, lr_128), could you please tell me which dataloader I should use to change to my own dataset path?

Thanks

If you are using a paired dataset, you can use localdataset and modify the dataloader in the training code. If you are using webdataset, you need to convert the images to a unified format such as JPG and then compress them into a TAR file. This is because webdataset is a library that reads TAR files. Once you specify the path correctly, it should work successfully.

from pasd.

xuanxu92 avatar xuanxu92 commented on August 26, 2024

thanks for the quick reply. I am using paired dataset (one hq image and corresponding one lq image). I notice that in localdataset, there is lq_folder which needs to be changed to my own dataset path, could you please tell me where I can set the hq_folder?

from pasd.

kelisiya avatar kelisiya commented on August 26, 2024

thanks for the quick reply. I am using paired dataset (one hq image and corresponding one lq image). I notice that in localdataset, there is lq_folder which needs to be changed to my own dataset path, could you please tell me where I can set the hq_folder?

I am not a contributor to the code, but I believe that here you need to construct hq using the same method and pass it into the example object. You can refer to the writing style of webdataset to ensure that the same results are returned.

from pasd.

yangxy avatar yangxy commented on August 26, 2024

FYI, I have updated the dataloader/localdataset.py.

from pasd.

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.