MCPcopy Index your code
hub / github.com/cassiePython/Expression-Recognition / _convert_dataset

Function _convert_dataset

convert.py:129–165  ·  view source on GitHub ↗

Converts the given filenames to a TFRecord dataset. Args: split_name: The name of the dataset, either 'train' or 'valid'. filenames: A list of absolute paths to jpeg images. filename_to_class_id: A dictionary from filenames (strings) to class ids (integ

(split_name, filenames, filename_to_class_id, dataset_dir)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runFunction · 0.85

Calls 4

read_image_dimsMethod · 0.95
ImageReaderClass · 0.85
_get_output_filenameFunction · 0.85
image_to_tfexampleFunction · 0.85

Tested by

no test coverage detected