<gh_stars>0
from LeafSegmentorUtils import prompt_model, get_metadata_dict_from_h5
from LeafSegmentorTrain import CONFIG_METADATA_NAME
from pprint import pprint


def info(args):
    model_path = args.model_path
    model_path = prompt_model(model_path)
    resulted_dict = get_metadata_dict_from_h5(model_path, CONFIG_METADATA_NAME)
    pprint(resulted_dict)


if __name__ == "__main__":
    info()
