调整配置 启动视频写入开关
This commit is contained in:
2
eval.py
2
eval.py
@@ -370,7 +370,7 @@ def run_eval_subset(
|
||||
callables=OmegaConf.to_container(
|
||||
local_cfg.eval.get("callables"), resolve=True
|
||||
),
|
||||
save_video=False,
|
||||
save_video=bool(local_cfg.eval.get("save_video", False)),
|
||||
video_path=output_dir,
|
||||
)
|
||||
if str(device).startswith("cuda") and torch.cuda.is_available():
|
||||
|
||||
Reference in New Issue
Block a user