#!/bin/bash . /home/ec2-user/venvs/kohya/bin/activate cd /home/ec2-user/tools/KohyaMain/sd-scripts accelerate launch --num_cpu_threads_per_process 8 train_db.py --config_file /home/ec2-user/configs/configMain.toml