mirror of
https://github.com/deepinsight/insightface.git
synced 2026-05-14 12:17:55 +00:00
25 lines
543 B
Python
25 lines
543 B
Python
from easydict import EasyDict as edict
|
|
|
|
# configs for test speed
|
|
|
|
config = edict()
|
|
config.loss = "arcface"
|
|
config.network = "r50"
|
|
config.resume = False
|
|
config.output = None
|
|
config.embedding_size = 512
|
|
config.model_parallel = True
|
|
config.sample_rate = 1.0
|
|
config.fp16 = False
|
|
config.momentum = 0.9
|
|
config.weight_decay = 5e-4
|
|
config.batch_size = 128
|
|
config.lr = 0.1 # batch size is 512
|
|
|
|
config.synthetic = True
|
|
config.num_classes = 100000
|
|
config.num_epoch = 30
|
|
config.warmup_epoch = -1
|
|
config.decay_epoch = [10, 16, 22]
|
|
config.val_targets = []
|