jasonyzhang / ners

Code for "NeRS: Neural Reflectance Surfaces for Sparse-View 3D Reconstruction in the Wild," in NeurIPS 2021
https://jasonyzhang.com/ners
BSD 3-Clause "New" or "Revised" License
299 stars 32 forks source link

Specifying cuboid extents #5

Closed hniksoleimani closed 2 years ago

hniksoleimani commented 2 years ago

I really appreciate the time and effort you put into this project, it would be great if someone would elaborate the how to specify cuboid extents in json file.

jasonyzhang commented 2 years ago

Hi,

When running the main script, you will specify a directory with images, masks, and associated metadata. The metadata file should contain 3 number for the cuboid extents, as shown here:

https://github.com/jasonyzhang/ners/blob/f9308e7b191b0a558a8566c366c883df17ba4170/data/espresso/metadata.json#L1