p-doom/crowd-code-dataset-0.2 huggingface dataset:
[tab] shell_scripts/copy_project_files.sh (shellscript)
#!/bin/bash

src_dir=/home/hk-project-pai00039/tum_ind3695/projects/jafar/*
dst_dir=/home/hk-project-pai00039/tum_ind3695/projects/jafar_dyn/
exclude_file=./shell_scripts/exclude.txt

rsync -av --progress --exclude-from=$exclude_file  $src_dir $dst_dir
[tab] /home/hk-project-pai00039/tum_ind3695/projects/jafar_dyn/sbatch_scripts/coinrun/latent_action_ablation/train_dynamics_coinrun.sbatch (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --time=24:00:00
#SBATCH --partition=accelerated
#SBATCH --account=hk-project-p0023960
#SBATCH --cpus-per-task=8
#SBATCH --gres=gpu:4
#SBATCH --output=logs/logs_training_tokenizer/%x_%j.log
#SBATCH --error=logs/logs_training_tokenizer/%x_%j.log
#SBATCH --mail-user=avocadoaling@gmail.com
#SBATCH --job-name=train_tokenizer_coinrun
#SBATCH --mail-type=ALL

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv_jafar/bin/activate

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID

ws_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared'

CHECKPOINT_DIR=$ws_dir/data/checkpoints/$job_name_$slurm_job_id
LOG_DIR=$ws_dir/logs/$job_name_$slurm_job_id
mkdir -p $CHECKPOINT_DIR
mkdir -p $LOG_DIR

data_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data/coinrun/coinrun_tfrecords'

srun python train_tokenizer.py \
    --batch_size=192 \
    --experiment_name $job_name \
    --ckpt_dir $CHECKPOINT_DIR \
    --log_checkpoint_interval=1000 \
    --log_image_interval=10 \
    --image_height 64 \
    --image_width 64 \
    --log \
    --entity instant-uv \
    --data_dir $data_dir \
    --project jafar
[content] /home/hk-project-pai00039/tum_ind3695/projects/jafar_dyn/sbatch_scripts/coinrun/latent_action_ablation/train_dynamics_coinrun.sbatch (shellscript)
lam_checkpoint='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/lam/3277318/lam_1750444032_10000'
tokenizer_checkpoint='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/tokenizer/3273828/tokenizer_1750269881_15500'
[content] /home/hk-project-pai00039/tum_ind3695/projects/jafar_dyn/sbatch_scripts/coinrun/latent_action_ablation/train_dynamics_coinrun.sbatch (shellscript)
srun python train_dynamics.py \
    --ckpt_dir $CHECKPOINT_DIR \
    --lam_checkpoint $lam_checkpoint \
    --tokenizer_checkpoint $tokenizer_checkpoint \
    --batch_size=48 \
    --log_checkpoint_interval=500 \
    --log_image_interval=50 \
    --seed=0 \
    --min_lr=0.0000866 \
    --max_lr=0.0000866 \
    --log \
    --entity instant-uv \
    --data_dir $data_dir \
    --project jafar
[terminal_command] TERMINAL ()
cd logs/logs_logs_sample/             logs_training_dyn/       logs_training_lam/       logs_training_tokenizer/ (.venv_jafar) [tum_ind3695@hkn1993 jafar_dyn]$ cd logs/logs_logs_sample/             logs_training_dyn/       logs_training_lam/       logs_training_tokenizer/ (.venv_jafar) [tum_ind3695@hkn1993 jafar_dyn]$ cd logs/logs_training_tokenizer/
[tab] /home/hk-project-pai00039/tum_ind3695/projects/jafar_dyn/sbatch_scripts/coinrun/latent_action_ablation/train_tokenizer_coinrun.sbatch (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --time=24:00:00
#SBATCH --partition=accelerated
#SBATCH --account=hk-project-p0023960
#SBATCH --cpus-per-task=8
#SBATCH --gres=gpu:4
#SBATCH --output=logs/logs_training_tokenizer/%x_%j.log
#SBATCH --error=logs/logs_training_tokenizer/%x_%j.log
#SBATCH --mail-user=avocadoaling@gmail.com
#SBATCH --job-name=train_tokenizer_coinrun
#SBATCH --mail-type=ALL

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv_jafar/bin/activate

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID

ws_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared'

CHECKPOINT_DIR=$ws_dir/data/checkpoints/$job_name_$slurm_job_id
LOG_DIR=$ws_dir/logs/$job_name_$slurm_job_id
mkdir -p $CHECKPOINT_DIR
mkdir -p $LOG_DIR

data_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data/coinrun/coinrun_tfrecords'

srun python train_tokenizer.py \
    --batch_size=192 \
    --experiment_name $job_name \
    --ckpt_dir $CHECKPOINT_DIR \
    --log_checkpoint_interval=1000 \
    --log_image_interval=10 \
    --image_height 64 \
    --image_width 64 \
    --log \
    --entity instant-uv \
    --data_dir $data_dir \
    --project jafar