Downloads · 30 days
0
KMK040412/RDT-1B-Ablation
RDT-1B-Ablation is a machine learning model from KMK040412. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains the code for the Robotics Diffusion Transformer (RDT), a powerful model for robotic manipulation tasks. This README provides instructions on how to set up the environment, use pre-trained mode…
Downloads · 30 days
0
Access
Public
Updated Aug 27, 2025
Repo size
31.9 GB
Likes
0
Public
Click a slice to open those files.
.pt31.9 GB · 100%
From the Hugging Face model README
This repository contains the code for the Robotics Diffusion Transformer (RDT), a powerful model for robotic manipulation tasks. This README provides instructions on how to set up the environment, use pre-trained models, and perform evaluation and quantization.
To get started, clone the repository and install the required dependencies.
# 1. Clone the repository
git clone https://github.com/MK040412/RDT-1B-Ablation.git
cd RDT-1B-Ablation
# 2. Install dependencies
pip install -r requirements.txt
Our pre-trained models are hosted on the Hugging Face Hub. You can easily download them using Git LFS.
# Make sure you have git-lfs installed. If not, uncomment the following line:
# sudo apt-get install git-lfs
# Initialize Git LFS
git lfs install
# Download the model files
git lfs pull
The models will be downloaded to the pretrained_models/rdt directory.
You can evaluate the performance of the RDT model on the ManiSkill benchmark using the provided evaluation script.
# Run the evaluation script
python eval_sim/eval_rdt_maniskill.py --model-path pretrained_models/rdt/ablate_w2_uniform_pc_sym.pt
This script will run the evaluation and print the success rate and other metrics to the console.
This repository provides tools to perform post-training quantization on the RDT model. Quantization can reduce the model size and improve inference speed, which is crucial for deployment on real robots with limited computational resources.
The run_quantization_experiments.sh script allows you to evaluate the model with different quantization configurations (e.g., different bit-widths).
# Run the quantization experiments
./run_quantization_experiments.sh
This script will:
results/ directory.After running the experiments, you can use the analyze_quantization.py script to visualize the results.
# Analyze the quantization results
python analyze_quantization.py
This script will generate a plot (quantization_analysis.png) that shows the Mean Squared Error (MSE) distribution for different quantization levels. This helps in understanding the trade-off between model size/performance and the level of quantization.