镜像自地址
https://github.com/MINT-SJTU/Evo-RL.git
已同步 2026-11-20 18:17:06 +00:00
feat(value-viz): add configurable multiview and smoothing controls
- add viz.video_keys for selecting and ordering camera views - add viz.smooth_window with default 1 (disabled) - wire new viz options through lerobot_value_infer export path - migrate validated overlay style and multiview export logic
这个提交包含在:
@ -93,9 +93,11 @@ class ValueInferenceVizConfig:
|
||||
enable: bool = False
|
||||
episodes: str = "all"
|
||||
video_key: str | None = None
|
||||
video_keys: str | None = None
|
||||
overwrite: bool = False
|
||||
vcodec: str = "libsvtav1"
|
||||
frame_storage_mode: str = "memory"
|
||||
smooth_window: int = 1
|
||||
|
||||
def validate(self) -> None:
|
||||
if not self.episodes:
|
||||
@ -104,6 +106,8 @@ class ValueInferenceVizConfig:
|
||||
raise ValueError("'viz.vcodec' must be non-empty.")
|
||||
if self.frame_storage_mode not in {"memory", "disk"}:
|
||||
raise ValueError("'viz.frame_storage_mode' must be one of {'memory', 'disk'}.")
|
||||
if self.smooth_window < 1:
|
||||
raise ValueError("'viz.smooth_window' must be >= 1. Use 1 to disable smoothing.")
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
在新工单中引用
屏蔽一个用户