Ejemplo n.º 1
0
_C.resize_height = 1024
_C.scale = 1 / 127.0
_C.anchor_sampling = False
_C.filter_min_face = True

# dataset config

_C.HOME = '/home/lj/data/'
_C.TRAIN_FILE = './data/train.txt'
_C.VAL_FILE = './data/val.txt'


# evalution config
_C.FDDB_DIR = '/home/lj/data/FDDB'
_C.WIDER_DIR = '/home/lj/data/WIDER'
_C.AFW_DIR = '/home/lj/data/AFW'
_C.PASCAL_DIR = '/home/lj/data/PASCAL_FACE'


# train config
_C.MAX_STEPS = 120000
_C.LR_STEPS = (80000,100000,120000)
_C.EPOCHES = 300

# anchor config
_C.FEATURE_MAPS = [32, 16, 8]
_C.STEPS = [32,64,128]
_C.DENSITY = [[-3, -1, 1, 3], [-2, 2], [0]]
_C.ASPECT_RATIOS = ((1, 2, 4), (1,), (1,))
_C.ANCHOR_SIZES = [32, 256, 512]
_C.VARIANCE = [0.1, 0.2]