class Html
W&B에서 HTML 콘텐츠를 로깅하기 위한 클래스입니다.
방법 Html.__init__
inject: HTML 객체에 스타일시트를 추가합니다. False로 설정하면 HTML이 변경 없이 그대로 전달됩니다.data_is_not_path: False로 설정하면data를 파일 경로로 처리합니다.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Help us improve these docs. Take our quick survey.
HtmlHtml.__init____init__(
data: 'str | pathlib.Path | TextIO',
inject: 'bool' = True,
data_is_not_path: 'bool' = False
) → None
inject: HTML 객체에 스타일시트를 추가합니다. False로 설정하면 HTML이 변경 없이 그대로 전달됩니다.data_is_not_path: False로 설정하면 data를 파일 경로로 처리합니다.with wandb.init() as run:
run.log({"html": wandb.Html("./index.html")})
with wandb.init() as run:
run.log({"html": wandb.Html("<h1>Hello, world!</h1>")})