Upload ProDiff/run_ddpm.sh with huggingface_hub
Browse files- ProDiff/run_ddpm.sh +20 -0
ProDiff/run_ddpm.sh
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Script to run training with periodic validation (DDPM-style configuration)
|
| 4 |
+
|
| 5 |
+
# --- Configuration ---
|
| 6 |
+
DEVICE_ID=7
|
| 7 |
+
EXP_NAME_BASE="tky_ddpm_exp" # Base name for the experiment
|
| 8 |
+
SAMPLING_TYPE="ddpm" # Influences periodic validation and experiment naming
|
| 9 |
+
|
| 10 |
+
# --- Training with Periodic Validation ---
|
| 11 |
+
echo "Starting DDPM Training with Periodic Validation..."
|
| 12 |
+
python main.py \
|
| 13 |
+
--sampling_type ${SAMPLING_TYPE} \
|
| 14 |
+
--exp_name ${EXP_NAME_BASE} \
|
| 15 |
+
--device_id ${DEVICE_ID}
|
| 16 |
+
# Add other training parameters as needed, e.g.:
|
| 17 |
+
# --config_module_path conf.config_custom \
|
| 18 |
+
# --seed 42
|
| 19 |
+
|
| 20 |
+
echo "Training finished."
|