Spaces:
Paused
Paused
from easydict import EasyDict as edict | |
# make training faster | |
# our RAM is 256G | |
# mount -t tmpfs -o size=140G tmpfs /train_tmp | |
config = edict() | |
config.loss = "arcface" | |
config.network = "mbf" | |
config.resume = False | |
config.output = None | |
config.embedding_size = 512 | |
config.sample_rate = 1.0 | |
config.fp16 = True | |
config.momentum = 0.9 | |
config.weight_decay = 2e-4 | |
config.batch_size = 128 | |
config.lr = 0.1 # batch size is 512 | |
config.rec = "/train_tmp/ms1m-retinaface-t1" | |
config.num_classes = 93431 | |
config.num_image = 5179510 | |
config.num_epoch = 30 | |
config.warmup_epoch = -1 | |
config.decay_epoch = [10, 20, 25] | |
config.val_targets = ["lfw", "cfp_fp", "agedb_30"] | |