# Translate the beauty in songs

Prepare the environment by running
```bash
python -m pip install -r requirements.txt
```
do the pretrain with scripts:
```bash
./bash_scripts/pretrain/mix_train.sh $YOUR_GPUS \
                            $PATH_TO_SAVE_CKPT \
                            $TRANS_DIRECTION \
                            $PATH_TO_YOUR_DATA \
                            $LR \
                            $MAX_LEN \
                            5 \
                            0.5 \
                            30 \
                            1
```
train the model with the script
```bash
./bash_scripts/finetune/finetune_with_melody_act_zh_en.sh $YOUR_GPUS $LR $MAX_LEN 800
```
