在 GitHub 上编辑
环境变量
用于配置 DVCLive 行为的环境变量列表。
import os
from dvclive import env
os.environ[env.DVCLIVE_LOGLEVEL] = "DEBUG"
os.environ[env.DVCLIVE_OPEN] = "True"
DVCLIVE_LOGLEVEL
:配置 DVCLive 的日志级别。默认值为WARNING
。DVCLIVE_OPEN
:若设置为true
,DVCLive 将尝试在默认浏览器中自动打开由Live.make_report()
生成的 HTML 文件。默认值为false
。
另请参阅 DVC 环境变量。