Skip to content

Latest commit

 

History

History

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Script for tfrecords generation

Before using this script, please first compile main.cpp and get an executable file named "vdb_tsdf".

The executable will be used to generate groudtruth sdf values and gradients as supervision for training, which will be used in script. (here)

For each Shapenet model, there will be 2 input files to this script:

1.Watertight mesh file:the watertight version of each original shapenet model, generated using scripts from occupancy networks

We assume that each mesh file has already been normalized to [-0.95, 0.95]^3 (which equals to [-1,1]^3 with 5% padding).

This input is declared here.

2.Sampled points file: sampled 100k points with normal from input #1

This input is the groundtruth points sampled from surface, we will draw 3k points from these points plus gaussian noise as network input.

Please also note that since these points are sampled from input #1, all these points should also be bounded by bounding box [-0.95, 0.95]^3.

This input is declared here.