ZXCCHENGXI/cstnet2_stage1_mini
Updated • 42
This repository contains the PointNet++ direct-prediction baseline used for comparison with CSTNet2 Stage 1. Given XYZ points, one shared PointNet++ backbone and four independent heads directly predict primitive type, direction, dimension, and location. This baseline does not use instance embedding, clustering, or geometric primitive fitting.
Source code: xcheng-tsinghua/cstnet2
Training dataset: ZXCCHENGXI/cstnet2_stage1_mini
best_pmt_miou.pth: recommended checkpoint for primitive prediction comparisonbest_loss.pth: checkpoint selected by total direct-prediction training losslast.pth: final epoch checkpointhistory.json: all 80 training epoch summariesconfig.json: architecture and training configurationchecksums.sha256: SHA256 verification valuesThese values are training-set metrics. No held-out validation split was used for checkpoint selection.
import torch
from networks.stage1_direct_baselines import build_stage1_direct_baseline
checkpoint = torch.load(
"best_pmt_miou.pth",
map_location="cpu",
weights_only=False,
)
model = build_stage1_direct_baseline(checkpoint["model_config"])
model.load_state_dict(checkpoint["model"], strict=True)
model.eval()