Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
W&B Reports and Workspaces API を使用して、report と Workspace をプログラムで作成・管理します
wandb_workspaces
pip install wandb-workspaces
import wandb_workspaces.reports.v2 as wr # 作成 report = wr.Report( entity="<team_entity>", project="<project_name>", title='Quickstart Report', description="That was easy!" ) # report を保存 report.save()
report.blocks = [ wr.TableOfContents(), wr.H1("Text and images example"), wr.P("Lorem ipsum dolor sit amet."), ] report.save()
# インポート方法 import wandb_workspaces.workspaces as ws # workspace を作成 ws.Workspace( entity="<team_entity>", # workspace を所有する entity project="<project_name>", # workspace に関連付ける project sections=[ ws.Section( name="<Validation Metrics>", panels=[ wr.LinePlot(x="Step", y=["<val_loss>"]), wr.BarPlot(metrics=["<val_accuracy>"]), wr.ScalarChart(metric="<f1_score>", groupby_aggfunc="<mean>"), ], is_open=True, ), ], ) workspace.save()
Was this page helpful?