def _build_sequence_list(self, vid_ids=None, split=None):
    if (split is not None):
        if (vid_ids is not None):
            raise ValueError('Cannot set both split_name and vid_ids.')
        ltr_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')
        if (split == 'train'):
            file_path = os.path.join(ltr_path, 'data_specs', 'lasot_train_split.txt')
        else:
            raise ValueError('Unknown split name.')
        sequence_list = pandas.read_csv(file_path, header=None, squeeze=True).values.tolist()
    elif (vid_ids is not None):
        sequence_list = [((c + '-') + str(v)) for c in self.class_list for v in vid_ids]
    else:
        raise ValueError('Set either split_name or vid_ids.')
    return sequence_list
def _build_sequence_list(self, vid_ids=None, split=None):
    if (split is not None):
        if (vid_ids is not None):
            raise ValueError('Cannot set both split_name and vid_ids.')
        ltr_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')
        if (split == 'train'):
            file_path = os.path.join(ltr_path, 'data_specs', 'lasot_train_split.txt')
        else:
            raise ValueError('Unknown split name.')
        sequence_list = pandas.read_csv(file_path, header=None, squeeze=True).values.tolist()
    elif (vid_ids is not None):
        sequence_list = [((c + '-') + str(v)) for c in self.class_list for v in vid_ids]
    else:
        raise ValueError('Set either split_name or vid_ids.')
    return sequence_list