modeva.DataSet.get_active_sample_idx#
- DataSet.get_active_sample_idx(dataset: str = 'main')#
Get the sample indices (active).
For extra datasets, it is assumed all samples are active.
- Parameters:
dataset ({"main", "train", "test"}, default="main") – The name of data split. It can also be other manually registered data split, if exists. Use the function get_data_list to check all available data splits.
- Return type:
np.ndarray of the given dataset’s sample index.