Haian-Jin / TensoIR

[CVPR 2023] TensoIR: Tensorial Inverse Rendering
https://haian-jin.github.io/TensoIR/
MIT License
227 stars 12 forks source link

The nerf synthetic dataset cannot be trained #18

Open 520jz opened 10 months ago

520jz commented 10 months ago

Thank you very much for your excellent work. I get an error when I train the synthetic dataset for nerf: image The format of the nerf synthetic dataset is as follows: image Looking at the error, it seems to ask for a metadata.json file. But when I look at the metadata.json file in the dataset you provided, it looks like HDR is required! image Is HDR a required input?

Haian-Jin commented 8 months ago

Hi,

Sorry for my late reply.

It seems that you didn't use the correct dataloader for NeRF-Synthetic dataloader. You need to specify the correct config file as I provided:

image

This config file will specify the correct dataloader for NeRF-synthetic data, i.e. https://github.com/Haian-Jin/TensoIR/blob/main/dataLoader/blender.py

This dataloader doesn't need metadata.json file.

As for the second question, HDR is not needed for reconstruction. metadata.json file.just recorded the HDR file I used for rendering the data.

Let me know if you have more question.