def load_dataset(train_rate):
    loader = ld.Loader(dir_original="data_set/train_images",
                       dir_segmented="data_set/train_annotations",
                       init_size=(128, 128))
    return loader.load_train_test(train_rate=train_rate, shuffle=False)
Beispiel #2
0
def load_dataset(train_rate):
    loader = ld.Loader(dir_original="data_set/VOCdevkit/VOC2013/512",
                       dir_segmented="data_set/VOCdevkit/VOC2013/512/lbl")
    return loader.load_train_test(train_rate=train_rate, shuffle=False)
Beispiel #3
0
def load_dataset(train_rate):
    loader = ld.Loader(
        dir_original="data_set/VOCdevkit/VOC2012/JPEGImages",
        dir_segmented="data_set/VOCdevkit/VOC2012/SegmentationClass")
    return loader.load_train_test(train_rate=train_rate, shuffle=False)
Beispiel #4
0
def load_dataset(train_rate):
    origin_dir = '/home/rl/Desktop/tensorflow/models/research/deeplab/datasets/pascal_voc_seg/VOCdevkit/VOC2012'
    loader = ld.Loader(dir_original=origin_dir + "/JPEGImages",
                       dir_segmented=origin_dir + "/SegmentationClass")
    return loader.load_train_test(train_rate=train_rate, shuffle=False)