File Path Utils
Module containing file path utilities for WriteStrategy to use.
get_sample_file_path(dataset, sample_id)
Get the file path for a particular sample.
Parameters:
-
dataset(IterableTiledPredDataset or IterablePredDataset) –Dataset.
-
sample_id(int) –Sample ID, the index of the file in the dataset
dataset.
Returns:
-
Path–The file path corresponding to the sample with the ID
sample_id.