def create_model(opt):
    if opt.model == 'STMF':
        from .STMF_Model import STMFModel
        model = STMFModel()
    else:
        raise ValueError("Model [%s] not recognized."% opt.model)

    model.initialize(opt)
    print("model [%s] is created" % (model.name()))

    return model

d91060d01ab542b149a03297faf91e9ea28fad93
<mask token>

def create_model(opt):
    if opt.model == 'STMF':
        from .STMF_Model import STMFModel
        model = STMFModel()
    else:
        raise ValueError('Model [%s] not recognized.' % opt.model)
    model.initialize(opt)
    print('model [%s] is created' % model.name())
    return model

def create_model(opt):
    if opt.model == 'STMF':
        from .STMF_Model import STMFModel
        model = STMFModel()
    else:
        raise ValueError("Model [%s] not recognized."% opt.model)

    model.initialize(opt)
    print("model [%s] is created" % (model.name()))

    return model
