merge changes
This commit is contained in:
parent
dc4e94fc65
commit
1329954dba
|
@ -695,7 +695,7 @@ class LeRobotDataset(torch.utils.data.Dataset):
|
|||
# data logic
|
||||
if self.delta_indices is not None:
|
||||
current_ep_idx = self.episodes.index(ep_idx) if self.episodes is not None else ep_idx
|
||||
query_indices, padding = self._get_query_indices(idx, current_ep_idx)
|
||||
query_indices, padding = self._get_query_indices(idx, current_ep_idx) #
|
||||
query_result = self._query_hf_dataset(query_indices)
|
||||
item = {**item, **padding}
|
||||
for key, val in query_result.items():
|
||||
|
|
Loading…
Reference in New Issue