fix(typos): fixing typos

This commit is contained in:
CarolinePascal
2025-04-22 17:23:47 +02:00
parent e4dd00c8f5
commit 067993bb11
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -776,7 +776,7 @@ class LeRobotDataset(torch.utils.data.Dataset):
self.revision = revision if revision else CODEBASE_VERSION
self.video_backend = video_backend if video_backend else get_safe_default_codec()
self.audio_backend = (
audio_backend if audio_backend else "trochaudio"
audio_backend if audio_backend else "torchaudio"
) # Waiting for torchcodec release #TODO(CarolinePascal)
self.delta_indices = None
self.batch_encoding_size = batch_encoding_size
@@ -1950,7 +1950,7 @@ class LeRobotDataset(torch.utils.data.Dataset):
obj._recorded_frames = 0
obj._writer_closed_for_reading = False
obj.audio_backend = (
audio_backend if audio_backend is not None else "trochaudio"
audio_backend if audio_backend is not None else "torchaudio"
) # Waiting for torchcodec release #TODO(CarolinePascal)
return obj
+1 -1
View File
@@ -35,7 +35,7 @@ def make_microphones_from_configs(microphone_configs: dict[str, MicrophoneConfig
def async_microphones_start_recording(
microphones: dict[str, Microphone],
output_files: list[str | None] | None,
output_files: list[str | None] | None = None,
multiprocessing: bool = False,
overwrite: bool = True,
):