@classmethod
def _load_weights_for_model(cls, path, model, meta):
    weights_file = os.path.join(path, meta['weights'])
    if ((model is not None) and os.path.exists(weights_file)):
        model.load_weights(weights_file)
    return model
@classmethod
def _load_weights_for_model(cls, path, model, meta):
    weights_file = os.path.join(path, meta['weights'])
    if ((model is not None) and os.path.exists(weights_file)):
        model.load_weights(weights_file)
    return model