MCPcopy
hub / github.com/msracver/Deformable-ConvNets / load_gt_segdb

Function load_gt_segdb

lib/utils/load_data.py:61–68  ·  view source on GitHub ↗

load ground truth segdb

(dataset_name, image_set_name, root_path, dataset_path, result_path=None,
                  flip=False)

Source from the content-addressed store, hash-verified

59
60
61def load_gt_segdb(dataset_name, image_set_name, root_path, dataset_path, result_path=None,
62 flip=False):
63 """ load ground truth segdb """
64 imdb = eval(dataset_name)(image_set_name, root_path, dataset_path, result_path)
65 segdb = imdb.gt_segdb()
66 if flip:
67 segdb = imdb.append_flipped_images_for_segmentation(segdb)
68 return segdb
69
70
71def merge_segdb(segdbs):

Callers 1

train_netFunction · 0.90

Calls 2

gt_segdbMethod · 0.45

Tested by

no test coverage detected