pixelplanetocr / configs /pretrain_vm.yaml
nateraw's picture
lol
7e81b8a
raw
history blame contribute delete
816 Bytes
global:
name: pretrain-vm
phase: train
stage: pretrain-vision
workdir: workdir
seed: ~
dataset:
train: {
roots: ['output_tbell_dataset/'],
batch_size: 20
}
test: {
roots: ['output_tbell_dataset/'],
batch_size: 20
}
data_aug: True
multiscales: False
num_workers: 1
training:
epochs: 8
show_iters: 50
eval_iters: 50
# save_iters: 3000
optimizer:
type: Adam
true_wd: False
wd: 0.0
bn_wd: False
clip_grad: 20
lr: 0.0001
args: {
betas: !!python/tuple [0.9, 0.999], # for default Adam
}
scheduler: {
periods: [6, 2],
gamma: 0.1,
}
model:
name: 'modules.model_vision.BaseVision'
checkpoint: ~
vision: {
loss_weight: 1.,
attention: 'position',
backbone: 'transformer',
backbone_ln: 3,
backbone_alpha_d: 0.5,
}