PCT baseline for Jittor Challenge Track 2 warmup (ModelNet40 point cloud classification) Best Val Acc 86.60% (epoch 171/200), well above the 0.80 passing threshold. Adds stratified train/val split, stronger augmentation (random scaling + jitter on top of the provided rotation), and best-validation-checkpoint restoration for the final prediction instead of the last epoch’s weights.
PCT baseline for Jittor Challenge Track 2 warmup (ModelNet40 point cloud classification)
Best Val Acc 86.60% (epoch 171/200), well above the 0.80 passing threshold. Adds stratified train/val split, stronger augmentation (random scaling + jitter on top of the provided rotation), and best-validation-checkpoint restoration for the final prediction instead of the last epoch’s weights.
使用 Jittor 训练 PCT(Point Cloud Transformer)模型,在 ModelNet40 三维形状数据集上完成点云分类任务。
题面说明 baseline 准确率”在 80% 通过线附近浮动”,本仓库在官方示例基础上做了三处改动,把结果稳定推高到通过线以上约 6.6 个百分点:
sklearn.model_selection.train_test_split(..., stratify=labels)
SA_Layer
1.3.11.0
pip install git+https://github.com/Jittor/jittor.git
pip freeze
# 1. 创建虚拟环境并安装 Jittor python3 -m venv jittor-venv source jittor-venv/bin/activate pip install git+https://github.com/Jittor/jittor.git python -m jittor.test.test_example # 2. 安装其余依赖(本题不需要 JittorGeometric) pip install numpy scikit-learn # 3. 放置数据集 # 将赛事提供的 ModelNet40 点云数据解压到本仓库的 data/ 目录下: # data/train_points.npy (9843, 2048, 3) # data/train_labels.npy (9843,) # data/test_points.npy (2468, 2048, 3) # data/categories.txt # 4. 训练并生成结果 python pct.py --epochs 200
单个 epoch(1024 点、batch=32,RTX 4090)约 16-20 秒,200 epoch 全程约 55 分钟。成功标志:日志中 Val Acc 稳定在 80% 以上,脚本末尾打印”自校验通过”,并生成 result.json(2468 个 key,编号 “0”“2467”,取值 039)。
Val Acc
result.json
result.zip 顶层直接包含 result.json,不含子文件夹、不含代码(按本题赛制要求)。
result.zip
MIT
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
计图挑战赛赛道二热身赛 —— PCT 点云分类(ModelNet40)
使用 Jittor 训练 PCT(Point Cloud Transformer)模型,在 ModelNet40 三维形状数据集上完成点云分类任务。
结果
题面说明 baseline 准确率”在 80% 通过线附近浮动”,本仓库在官方示例基础上做了三处改动,把结果稳定推高到通过线以上约 6.6 个百分点:
sklearn.model_selection.train_test_split(..., stratify=labels)),而不是简单随机切片——40 个类别中样本数最少的只有 64 个,随机切片可能导致稀有类别在验证集里样本过少。模型与训练配置
SA_Layer,channels=128)+ 特征融合卷积 + 3 层 FC 分类头,参数量 1.37M环境
1.3.11.0,安装自pip install git+https://github.com/Jittor/jittor.gitpip freeze导出)复现步骤
单个 epoch(1024 点、batch=32,RTX 4090)约 16-20 秒,200 epoch 全程约 55 分钟。成功标志:日志中
Val Acc稳定在 80% 以上,脚本末尾打印”自校验通过”,并生成result.json(2468 个 key,编号 “0”“2467”,取值 039)。数据集
提交文件
result.zip顶层直接包含result.json,不含子文件夹、不含代码(按本题赛制要求)。License
MIT