1
0
mirror of https://github.com/JDAI-CV/fast-reid.git synced 2025-06-03 14:50:47 +08:00

14 lines
289 B
Python
Raw Normal View History

2019-01-10 18:39:31 +08:00
# encoding: utf-8
"""
@author: sherlock
@contact: sherlockliao01@gmail.com
"""
from .baseline import Baseline
def build_model(cfg, num_classes):
if cfg.MODEL.NAME == 'resnet50':
model = Baseline(num_classes, cfg.MODEL.LAST_STRIDE, cfg.MODEL.PRETRAIN_PATH)
return model