How cosmicdust3927/sa3d_yolo works
SA3D-YOLO reconstructs scenes as neural radiance fields, then detects and segments objects in 3D from image views. The documented workflow is dataset/configuration selection, NeRF training, GUI- or automation-assisted segmentation, and result rendering. The graph includes the documented dataset, rendering, detection, segmentation, and GUI capabilities. Some links are grounded only in README statements or the source index; unsampled implementation details are not asserted.
Main entry points: sam3d.py SA3D engine · run.py NeRF training · run_seg_gui.py Segmentation runner · grid.py Voxel grids
Components 21
Inputs and configuration
- Scene datasets
- Scene configs
configs - Config loader
lib/config_loader.py - Dataset loader
lib/load_data.py - Dataset readers
lib
NeRF reconstruction
- NeRF training
run.py - NeRF models
lib/dvgo.py - Contracted models
lib/dcvgo.py - MPI model
lib/dmpigo.py - Voxel grids
lib/grid.py - Volume rendering
lib/render_utils.py
3D segmentation
- Segmentation runner
run_seg_gui.py - SA3D engine
lib/sam3d.py - Segmentation models
lib/seg_dvgo.py - Prompt generation
lib/self_prompting.py - YOLO detection
yolo_detect.py - SAM
Interaction and results
- Interactive GUI
lib/gui.py - GUI automation
run_seg_gui_auto_interaction.py - Rendered results
Other components
- User
Connections 25
- User → Scene configs: selects scene
- User → Scene datasets: provides images
- NeRF training → Config loader: loads config
run.py - NeRF training → Dataset loader: loads data
run.py - Dataset loader → Dataset readers: dispatches reads
lib/load_data.py - Scene configs → NeRF training: configures training
- NeRF training → NeRF models: trains model
run.py - NeRF training → Contracted models: trains model
run.py - NeRF training → MPI model: trains model
run.py - NeRF models → Voxel grids: uses grids
lib/dvgo.py - Contracted models → Voxel grids: uses grids
lib/dcvgo.py - MPI model → Voxel grids: uses grids
lib/dmpigo.py - User → Segmentation runner: starts segmentation
- Segmentation runner → SA3D engine: runs segmentation
- SA3D engine → Segmentation models: optimizes masks
lib/sam3d.py - SA3D engine → Prompt generation: generates prompts
lib/sam3d.py - SA3D engine → YOLO detection: detects objects
- SA3D engine → SAM: requests masks
lib/sam3d.py - Segmentation runner → Interactive GUI: opens interface
- Interactive GUI → SA3D engine: trains views
lib/gui.py - User → GUI automation: starts automation
- GUI automation → SA3D engine: trains views
run_seg_gui_auto_interaction.py - User → Volume rendering: requests rendering
- Volume rendering → Rendered results: writes renders
- SA3D engine → Rendered results: produces masks