Closed gkouros closed 1 year ago
You probably need to recreate the environment map checkpoint. It's probably from an older version of the code.
python -m scripts.pano2cube backgrounds/forest.exr --output backgrounds/forest.th
If this is not the case, can you send the list of missing keys? There is a chance you can just skip those keys with strict=false.
It seems there is an issue with my version of imageio (2.31.6):
ValueError: Could not load bitmap "/path/to/nmf/backgrounds/forest.exr": Cannot read image file "". Unknown compression type in image header.
Switching to opencv for reading the exr file works.
Also, failing to import _bgmodules, but that can be removed since it's not used anymore.
Training with GT envmap seems to be running fine after recreating forest.th.
Good to hear things are working.
Is it normal to get worse performance with the GT envmap? I get around 2 PSNR less on the shiny-blender/car scene in this case.
I suspect that you need to start with a low frequency environment map and steadily increase the frequency through training. Just a hunch though.
Thanks. I'll give it a try and report back.
Hi,
Is it possible to train with a known envmap and if so, how can you do that? I'm trying to see how the model performs with regard to material estimation if you reduce the ambiguity by providing known illumination.
I tried to set the fixed_bg argument but it's not working. It seems to expect a torch checkpoint and when I feed it with the backgrounds/forest.th there are some conflicts with resolution (which is easy to fix) and missing keys (not so easy to fix).
Also, is it possible to use the exr files directly?
Thanks.