目录

PCT_jittor

A Jittor implementation of Point Cloud Transformer (PCT) for ModelNet40 classification.

This repository is prepared to match the PA3 requirements in PA3_README.pdf:

  • Framework: Jittor
  • Task: ModelNet40 point cloud classification
  • Main script: pct.py
  • Output files: pct_model.pkl, result.json

Project Structure

PA3/
  pct.py                  # training + inference pipeline
  data/                   # dataset folder (not tracked)
  .gitignore
  README.md

Environment

Recommended conda env (already used in this workspace):

conda activate ai_course
python -c "import jittor; print(jittor.__version__)"

Data Preparation

Expected data files:

  • data/data/train_points.npy
  • data/data/train_labels.npy
  • data/data/test_points.npy
  • data/data/categories.txt (optional for category names)

If your dataset is a zip package:

unzip -o data.zip -d data

Training + Prediction

Run full training and generate prediction file:

python -u pct.py \
  --data_dir /root/PA3/data/data \
  --epochs 200 \
  --batch_size 32 \
  --n_points 1024 \
  --lr 0.01

After training:

  • model is saved to pct_model.pkl
  • test predictions are saved to result.json

Fast Sanity Run

python -u pct.py \
  --data_dir /root/PA3/data/data \
  --epochs 1 \
  --batch_size 8 \
  --n_points 1024 \
  --lr 0.01

Report Checklist (from assignment)

Prepare your final submission package with at least:

  • pct.py
  • pct_model.pkl
  • result.json
  • REPORT.pdf

For platform submission, also include:

  • evaluation screenshot
  • evaluation ID
  • Git repository link

Open Source Notes

This repository is intended for course assignment usage. Please follow your course policy before sharing trained weights or data files.

关于

项目简介:基于 Jittor 实现的 Point Cloud Transformer (PCT),用于 ModelNet40 点云分类任务,包含训练、推理与生成提交 result.json 的完整流程。 技术栈:Python + Jittor(GPU),数据以预处理的 .npy 文件存放(ModelNet40)。 主要功能:训练 PCT 模型、保存模型权重、对测试集生成类别预测并输出 result

32.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号