format
这个提交包含在:
@ -1,3 +1,4 @@
|
||||
import threading
|
||||
from pathlib import Path
|
||||
|
||||
import hydra
|
||||
@ -11,11 +12,12 @@ from torchrl.envs import EnvBase
|
||||
from lerobot.common.envs.factory import make_env
|
||||
from lerobot.common.tdmpc import TDMPC
|
||||
from lerobot.common.utils import set_seed
|
||||
import threading
|
||||
|
||||
|
||||
def write_video(video_path, stacked_frames, fps):
|
||||
imageio.mimsave(video_path, stacked_frames, fps=fps)
|
||||
|
||||
|
||||
def eval_policy(
|
||||
env: EnvBase,
|
||||
policy: TensorDictModule = None,
|
||||
|
||||
在新工单中引用
屏蔽一个用户