differentiable-point-clouds icon indicating copy to clipboard operation
differentiable-point-clouds copied to clipboard

how to generate new dataset for TF records

Open netalkative opened this issue 6 years ago • 3 comments

I am trying "dpc" as a generator of point cloud for new category. To generate ground truth point clouds is obvious(dpc/densify/densify.py or chenhsuanlin/3D-point-cloud-generation's densify/densify.py).

But I cannot find a way of a new train/test/val dataset creation, especially sources of TF records. How do I prepare a train/test/val dataset to create TF records?

netalkative avatar Apr 24 '19 09:04 netalkative

Hi @netalkative This is described in the instructions: https://github.com/eldar/differentiable-point-clouds/blob/master/README.md#prepare-training-data Please follow them carefully, there is a script that generated TF records out of the images.

eldar avatar Apr 27 '19 15:04 eldar

Thank you for replying, @eldar

I am afraid that "prepare-training-data" is not enough. "prepare-training-data" requires camera_?.mat , depth_?.png and render_?.png from <synth_set>-renders.tar.gz that you prepared in advance.

I want to know, how to create camera_?.mat , depth_?.png and render_?.png from my 3D model data. When you created <synth_set>-renders.tar.gz for airplane, car and chair, how did you? (i am worried about "dpc/data/splits/<synth_set>.file". which program creates it?)

Best Regards.

netalkative avatar May 09 '19 04:05 netalkative

Hi @eldar

I'm afraid I have the similar questions. The numbers in the camera_.mat really confused me. Could you tell me the meanings of the extrinsic, K, pos, quat in the mat files? Thank you very much! image

Yueeey avatar Jun 25 '19 08:06 Yueeey