Git Product home page Git Product logo

Comments (5)

aiff22 avatar aiff22 commented on July 17, 2024

@Garfield-kh,

The size of the input image should be multiple of 32 due to the used down- and up-scaling layers. Changing the size from 2010 x 3018 to 1984 x 3008 should fix the problem.

from pynet-pytorch.

Garfield-kh avatar Garfield-kh commented on July 17, 2024

Thank you!
Yes, it works.
May I ask one more question?
When the brightness of Raw image is very high, then the resulit RGB image will be almost in white. It this because the training data is in a low exposure setting?
I failed to download the data for training thus I cannot check it myself.
The performance is quite good on low exposure RAW image.

Thank you again.

from pynet-pytorch.

aiff22 avatar aiff22 commented on July 17, 2024

Hi @Garfield-kh,

As far as I can see, you collected RAW images with a phone model different from the Huawei P20 used for training this network. Therefore, your device has another camera sensor model and optical system. While the PyNET is still able to generalize even to such hard cases, various small artifacts can be expected when applying it to raw data from other devices.

from pynet-pytorch.

Garfield-kh avatar Garfield-kh commented on July 17, 2024

Thank you for the answering!
Yes, it's different  device.
What I want to try is to test on different exposure RAW using this model.

  • When I try increase the exposure value of RAW, (scale up the RAW value 50% and clip on the testing data 'test/huawei_full_resolution/1167.png' ). It seems like the output will get some small artifacts like blue region.
  • In my own different exposure RAW data, it works good for proper exposure setting, and some region of output image go blank in high exposure setting.

As the paper state 'The photos were captured in automatic mode' in the section 'Zurich RAW to RGB dataset', Does this means the pretrained model can only handle suitable exposure setting since the training only include proper exposure RAW image?

from pynet-pytorch.

Garfield-kh avatar Garfield-kh commented on July 17, 2024

I find similar issue which in SID (See in Dark), the author suggests to try and re-scale the raw with a proper ratio such that the model is suitable for it.
Thanks~

from pynet-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.