mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-21 19:49:49 +00:00
[skip-ci] fix(typo): fixing microphone key typo in audio benchmark
This commit is contained in:
@@ -145,7 +145,7 @@ def main(
|
|||||||
|
|
||||||
# Print statistics
|
# Print statistics
|
||||||
differences = record_length - chunk_length
|
differences = record_length - chunk_length
|
||||||
for i, microphone in enumerate(microphones.values()):
|
for i, (microphone_key, microphone) in enumerate(microphones.items()):
|
||||||
print(
|
print(
|
||||||
f"Average recorded duration for {microphone_key} : {np.mean(record_length[:, i]) / microphone.sample_rate:.3f} seconds"
|
f"Average recorded duration for {microphone_key} : {np.mean(record_length[:, i]) / microphone.sample_rate:.3f} seconds"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user