p-doom/crowd-code-dataset-0.2 huggingface dataset:
[tab] slurm/jobs/mihir/berlin/diffusion/coinrun/sample_breakout.sh (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --time=01:00:00
#SBATCH --partition=accelerated
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:4
#SBATCH --output=/fast/project/HFMI_ProFOUND/mihir/logs/sample/breakout/diffusion/sample_breakout_%j.log
#SBATCH --error=/fast/project/HFMI_ProFOUND/mihir/logs/sample/breakout/diffusion/sample_breakout_%j.log
#SBATCH --job-name=sample_breakout

# Activate virtual environment
source .venv/bin/activate

array_records_dir=/fast/project/HFMI_ProFOUND/mihir/data/data_breakout/breakout_episodes_80m/val

CHECKPOINT_PATH=/fast/project/HFMI_ProFOUND/mihir/checkpoints/dyn/train_dyn_dit/32420

echo "Sampling from checkpoint: $CHECKPOINT_PATH"

srun python jasmine/sample.py \
    --checkpoint "$CHECKPOINT_PATH" \
    --data_dir=$array_records_dir \
    --seq_len=20 \
    --batch_size=12 \
    --start_frame=4 \
    --image_height=10 \
    --image_width=10 \
    --dyna_type=diffusion \
    --diffusion_denoise_steps=128 \
    --no-print-action-indices \
    --output_dir "gifs/diffusion/breakout/diffusion_forcing"