Fix _query_videos return shapes
This commit is contained in:
parent
b8bdbc1c5b
commit
07570f867f
|
@ -487,7 +487,7 @@ class LeRobotDataset(torch.utils.data.Dataset):
|
|||
frames = decode_video_frames_torchvision(
|
||||
video_path, query_ts, self.tolerance_s, self.video_backend
|
||||
)
|
||||
item[vid_key] = frames
|
||||
item[vid_key] = frames.squeeze(0)
|
||||
|
||||
return item
|
||||
|
||||
|
|
Loading…
Reference in New Issue