def coco_root(dir, subset, year=2014):
    """Construct coco root dir."""
    if subset == "minival" or subset == "valminusminival":
        subset = "val"
    image_dir = "{}/{}{}".format(dir, subset, year)
    print(image_dir)
    return image_dir