Giter Club home page Giter Club logo

Comments (2)

yzhouas avatar yzhouas commented on July 4, 2024

Hi Tom, the codes are very old so I am not sure whether my answer will address your problem.
Basically, in the paper we used two noise types: AWGN and RVIN, so the noise map contains 6 channels (RGB for AWGN and RGB for RVIN).

I guess the commented validation codes are deprecated and it only generates one single type AWGN noise levels. It's better to refer https://github.com/yzhouas/PD-Denoising-pytorch/blob/master/train.py#L111-L133 to generate the validation noise level maps.

The codes are not clean enough and sorry for causing so many troubles.

from pd-denoising-pytorch.

sptom avatar sptom commented on July 4, 2024

Hi Yuqian,

first of all thanks for the quick reply!

I replaced the deprecated commands with newer versions.
In the meantime I just replicated the 3 channel generated noise map twice so it fits the 6 channels, and the code runs now. I'll review the lines you pointed to and try to adjust.

BTW, I see that "parepare_data" can create a validation data loader as well.
I guess that if I want to use it for validation instead of just running on files in the val folder I'll have to write the validation loop myself, right?

Thanks again,
Tom

from pd-denoising-pytorch.

Related Issues (11)

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.