mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-28 15:09:51 +00:00
fix(typos): fixing remaining typos
This commit is contained in:
@@ -19,7 +19,7 @@ This makes `save_episode()` near-instant (the video is already encoded by the ti
|
|||||||
| `streaming_encoding` | `--dataset.streaming_encoding` | `bool` | `True` | Enable real-time encoding during capture |
|
| `streaming_encoding` | `--dataset.streaming_encoding` | `bool` | `True` | Enable real-time encoding during capture |
|
||||||
| `vcodec` | `--dataset.camera_encoder_config.vcodec` | `str` | `"libsvtav1"` | Video codec. `"auto"` detects best HW encoder |
|
| `vcodec` | `--dataset.camera_encoder_config.vcodec` | `str` | `"libsvtav1"` | Video codec. `"auto"` detects best HW encoder |
|
||||||
| `encoder_threads` | `--dataset.encoder_threads` | `int \| None` | `None` (auto) | Threads per encoder instance. `None` will leave the vcoded decide |
|
| `encoder_threads` | `--dataset.encoder_threads` | `int \| None` | `None` (auto) | Threads per encoder instance. `None` will leave the vcoded decide |
|
||||||
| `encoder_queue_maxsize` | `--dataset.encoder_queue_maxsize` | `int` | `30` | Max buffered frames per camera (~2s at 30fps). Consumes RAM |
|
| `encoder_queue_maxsize` | `--dataset.encoder_queue_maxsize` | `int` | `30` | Max buffered frames per camera (~1s at 30fps). Consumes RAM |
|
||||||
|
|
||||||
## 3. Performance Considerations
|
## 3. Performance Considerations
|
||||||
|
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class VideoEncoderConfig:
|
|||||||
vcodec: str = "libsvtav1" # TODO(CarolinePascal): rename to codec ?
|
vcodec: str = "libsvtav1" # TODO(CarolinePascal): rename to codec ?
|
||||||
pix_fmt: str = "yuv420p"
|
pix_fmt: str = "yuv420p"
|
||||||
g: int | None = 2
|
g: int | None = 2
|
||||||
crf: int | None = 30
|
crf: int | float | None = 30
|
||||||
preset: int | str | None = None
|
preset: int | str | None = None
|
||||||
fast_decode: int = 0
|
fast_decode: int = 0
|
||||||
# TODO(CarolinePascal): add torchcodec support + find a way to unify the
|
# TODO(CarolinePascal): add torchcodec support + find a way to unify the
|
||||||
|
|||||||
@@ -209,10 +209,9 @@ from pathlib import Path
|
|||||||
import draccus
|
import draccus
|
||||||
|
|
||||||
from lerobot.configs import parser
|
from lerobot.configs import parser
|
||||||
|
from lerobot.configs.video import VideoEncoderConfig, camera_encoder_defaults
|
||||||
from lerobot.datasets import (
|
from lerobot.datasets import (
|
||||||
LeRobotDataset,
|
LeRobotDataset,
|
||||||
VideoEncoderConfig,
|
|
||||||
camera_encoder_defaults,
|
|
||||||
convert_image_to_video_dataset,
|
convert_image_to_video_dataset,
|
||||||
delete_episodes,
|
delete_episodes,
|
||||||
merge_datasets,
|
merge_datasets,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
"""Unit tests for ``lerobot.datasets.video_utils`` encoding functions and ``VideoEncoderConfig`` config class."""
|
"""Unit tests for ``lerobot.datasets.video_utils`` encoding functions and ``lerobot.configs.video.VideoEncoderConfig`` config class."""
|
||||||
|
|
||||||
import json
|
import json
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|||||||
Reference in New Issue
Block a user