code for "Trajectory-level Data Generation with Better Alignment for Offline Imitation Learning"
train_diffusion.py --Train Trajectory-Diffuser
gen_traj.py --Generate better trajectories
bc_data.py --Constuct dataset for behavior cloning
train_actor.py --Train and evaluate a BC policy
Our code is modified based on: