How cocel-postech/pit-nbv works
PIT-NBV learns 6-DOF next-best-view poses from partial point clouds and evaluates reconstruction-view quality. Its main workflow prepares ShapeNet splits, generates Poisson-guided scan sequences and NBV labels, packs them into HDF5, then trains or evaluates a point-cloud transformer. The graph preserves the documented stages and their principal dependencies; test.py and some dataset-generation details are not sampled, so those links rely on README statements rather than source inspection.
Main entry points: 2_poisson_gen_nbv_data.py Scan sequence generation · pct_v.py Point transformer · train.py Training loop · dataloader_poisson.py Poisson data loader
Components 15
Dataset preparation
- Dataset split
supervision_dataset/1_split_dataset.py - HDF5 dataset builder
supervision_dataset/3_poisson_dataset_h5py.py - HDF5 dataset
Poisson view planning
- Scan sequence generation
supervision_dataset/2_poisson_gen_nbv_data.py - Poisson utilities
util/poisson_util.py - PCD and NBV files
Model learning
- Poisson data loader
dataloader_poisson.py - Point transformer
network/pct_v.py - PointNet operations
util/pointnet_util.py - NBV loss
util/loss.py
Training and evaluation
- Training loop
train.py - Evaluation entry
test.py - Predicted view pose
Other components
- ShapeNet source
- Autoscanning tool
Connections 15
- ShapeNet source → Dataset split: provides meshes
supervision_dataset/1_split_dataset.py - Dataset split → Scan sequence generation: supplies split data
README.md - Scan sequence generation → Poisson utilities: uses geometry helpers
supervision_dataset/2_poisson_gen_nbv_data.py - Scan sequence generation → Autoscanning tool: runs scan planner
supervision_dataset/2_poisson_gen_nbv_data.py - Scan sequence generation → PCD and NBV files: writes scans and labels
supervision_dataset/2_poisson_gen_nbv_data.py - PCD and NBV files → HDF5 dataset builder: provides PCD and CSV
README.md - HDF5 dataset builder → HDF5 dataset: writes grouped data
supervision_dataset/3_poisson_dataset_h5py.py - HDF5 dataset → Poisson data loader: loads samples
dataloader_poisson.py - Poisson data loader → Training loop: feeds batches
train.py - Training loop → Point transformer: runs forward pass
train.py - Training loop → NBV loss: computes objective
train.py - Point transformer → PointNet operations: uses sampling ops
network/pct_v.py - Evaluation entry → Poisson data loader: evaluates dataset
README.md - Evaluation entry → Point transformer: runs pretrained model
README.md - Point transformer → Predicted view pose: predicts pose
network/pct_v.py