-
Notifications
You must be signed in to change notification settings - Fork 0
/
train_vgg.sh
executable file
·24 lines (20 loc) · 1.31 KB
/
train_vgg.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
echo "NoPrior Training Script"
name="music"
description=""
trainset="vggss"
testset="vggss"
train_data_path=""
test_data_path=""
gt_path=""
image_size=224
epochs=100
batch_size=128
freeze_vision=1
lr=0.0001
concat_num=1
# With CKPT
# CUDA_VISIBLE_DEVICES=4,5,6,7 python3 train.py --name "$name" --trainset "$trainset" --testset "$testset" --train_data_path "$train_data_path" --test_data_path "$test_data_path" --image_size "$image_size" --epochs "$epochs" --batch_size "$batch_size" --gt_path "$gt_path" --freeze_vision "$freeze_vision" --lr "$lr" --ckpt "$ckpt" --description "$description"
# CUDA_VISIBLE_DEVICES=6 python3 train.py --name "$name" --trainset "$trainset" --testset "$testset" --train_data_path "$train_data_path" --test_data_path "$test_data_path" --image_size "$image_size" --epochs "$epochs" --batch_size "$batch_size" --gt_path "$gt_path" --freeze_vision "$freeze_vision" --lr "$lr" --ckpt "$ckpt" --description "$description"
# Without CKPT
CUDA_VISIBLE_DEVICES=3 python3 train.py --name "$name" --trainset "$trainset" --testset "$testset" --train_data_path "$train_data_path" --test_data_path "$test_data_path" --image_size "$image_size" --epochs "$epochs" --batch_size "$batch_size" --gt_path "$gt_path" --freeze_vision "$freeze_vision" --lr "$lr" --description "$description" --concat_num "$concat_num"