MCPcopy Create free account
hub / github.com/Engineering-Course/LIP_JPPNet / __init__

Method __init__

utils/image_reader.py:126–147  ·  view source on GitHub ↗

Initialise an ImageReader. Args: data_dir: path to the directory with images and masks. data_list: path to the file with lines of the form '/path/to/image /path/to/mask'. input_size: a tuple with (height, width) values, to which all the images will be r

(self, data_dir, data_list, input_size, random_scale,
                 random_mirror, coord)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

read_labeled_image_listFunction · 0.70
read_images_from_diskFunction · 0.70

Tested by

no test coverage detected