Giter VIP home page Giter VIP logo

fhdr's People

Contributors

dependabot[bot] avatar mukulkhanna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fhdr's Issues

About model output

Hello!
According to data_loader.py, the GT(HDR) image is in range [0, +inf) and normalized the GT by -0.5 and then div 0.5, that is in range[-1, +inf)
the input(LDR) image is in range [0, 255] and also normalized by mean(0.5) and std(0.5) and that is in range[-1, 1]
Your FHDR model has one Tanh layer at the end of the model, so how do you generate output >1 ?

Training Dataset

Hi, thank you for your contributions to HDRI area, I really like the job you have done here.
I want to ask if there is an available dataset for training to train model towards more iterations. I'd be happy to see the results.
Looking forward your answer!

Not able to get it work

Can you please help me get it working?

File "C:\Users\MyPC\Downloads\FHDR-master\FHDR-master\test.py", line 68, in
for batch, data in enumerate(tqdm(data_loader, desc="Testing %")):
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\tqdm\std.py", line 1178, in iter
for obj in iterable:
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\data\dataloader.py", line 633, in next
data = self._next_data()
^^^^^^^^^^^^^^^^^
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\data\dataloader.py", line 677, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
~~~~~~~~~~~~^^^^^
File "C:\Users\MyPC\Downloads\FHDR-master\FHDR-master\data_loader.py", line 52, in getitem
self.hdr_data_path, self.hdr_image_names[index]
~~~~~~~~~~~~~~~~~~~~^^^^^^^
IndexError: list index out of range

about HDR data processing during training

Hi,LDR data is of type UNIT8 and normalized to [-1,1],HDR data is of type Float32,if you follow the code, HDR data is not normalized to [-1,1],the value of hdr_tensor is greater than 1 ,the loss value will occur nan.The HDR data processing code is as follows:

transform_list = [
transforms.Lambda(lambda img: torch.from_numpy(img.transpose((2, 0, 1)))),
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
]
transform_hdr = transforms.Compose(transform_list)
hdr_tensor = transform_hdr(new_hdr)

How can WE effectively normalize HDR data value to [-1,1]?

Q-Score values

The paper mentions the HDR-VDP Qscore, but the test file does not contain this evaluation metric. Could you provide this testing metric? Thanks.

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.