Code Monkey home page Code Monkey logo

Comments (4)

sharif-apu avatar sharif-apu commented on September 26, 2024

Can you please tell me which exposure setting you are using? According to the challenge protocol, the model was trained with medium exposure images only.

from twostagehdr_ntire21.

sharif-apu avatar sharif-apu commented on September 26, 2024

I've cross-checked the output with the pretrained weights. It seems to be fine. For your reference, I've added sample outputs in the modelOutput/ directory. . Please check your input images.

from twostagehdr_ntire21.

YinengXiong avatar YinengXiong commented on September 26, 2024

I've cross-checked the output with the pretrained weights. It seems to be fine. For your reference, I've added sample outputs in the modelOutput/ directory. . Please check your input images.

Hi !
I use the images in modelOutput/Two-stageHDR/HDRInput/ and the provided pretrained model to generate output, and I got
0028_alignratio.npy

np.load('./testOutTwo-stageHDR/0028/0028_alignratio.npy').astype(np.float32)
array(19877.906, dtype=float32)
while in your provided output,
np.load('./modelOutput/Two-stageHDR/HDRInput/0028_alignratio.npy').astype(np.float32)
array(21488.842, dtype=float32)

I didn't change any code

from twostagehdr_ntire21.

sharif-apu avatar sharif-apu commented on September 26, 2024

Hello!
xxx_alignration.py is metadata for normalizing 16-bit images. Notably, the input of our model is 8-bit images and any 16bit-samples/.npy files have to be ignored while reading data input images.

The samples we have provided in the "modelOutput/" directory are saved according to the NTIRE-21 submission protocol. Ideally, these samples should not be used for the inference. I will strongly suggest you to go through the following link: https://competitions.codalab.org/competitions/28161. You may also download the testing samples from the given link as well (after registration). It is worth noting, the output of our Model is stored in 16-bit format, which is the range between (0-65536). Therefore, we may not treat them as normal images. Please refer to the original paper and the competition link for the details. Also, for calculating PSNR and mu-PSNR we should use the script provided by the organizer of the competition. However, for any difficulties feel free to contact us.

from twostagehdr_ntire21.

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.