A Jittor implementation of Point Cloud Transformer (PCT) for ModelNet40 point-cloud classification.
This repository contains the training code, distributed training scripts, and experiment report for PA3. Dataset files, checkpoints, logs, and generated prediction files are intentionally excluded from Git because they are large or reproducible artifacts.
In MPI mode, Jittor shards the dataset and synchronizes gradients. The batch_size argument is the global batch size across all ranks. Rank 0 saves the model and exports the full prediction file.
Large generated files are written under /data/qiaojiaxuan by default:
PCT_jittor
A Jittor implementation of Point Cloud Transformer (PCT) for ModelNet40 point-cloud classification.
This repository contains the training code, distributed training scripts, and experiment report for PA3. Dataset files, checkpoints, logs, and generated prediction files are intentionally excluded from Git because they are large or reproducible artifacts.
Project Structure
Expected local data layout:
The
data/directory is ignored by Git.Environment
The code is tested with:
Install Jittor according to the official documentation:
For 8-GPU training, install OpenMPI in the same environment:
Single-GPU Training
Useful options:
8-GPU Training
Jittor uses MPI for multi-GPU training. Run:
Choose specific GPUs:
Override common training parameters:
In MPI mode, Jittor shards the dataset and synchronizes gradients. The
batch_sizeargument is the global batch size across all ranks. Rank 0 saves the model and exports the full prediction file.Large generated files are written under
/data/qiaojiaxuanby default:/data/qiaojiaxuan/jittor_home/data/qiaojiaxuan/PA3/outputs/pct_model.pkl/data/qiaojiaxuan/PA3/outputs/result.json/data/qiaojiaxuan/PA3/outputs/train_8gpu.logResult
The final 8-GPU training run used 200 epochs, 1024 input points, global batch size 64, SGD, and cosine annealing. The final training metrics were:
The generated
result.jsoncontains 2468 test predictions.Prediction Format
result.jsonis a dictionary from test sample index to predicted class id:License
This project is released under the MIT License.