From 1c174660fe9bc77e088ed22a33c4b90b0bedfc1a Mon Sep 17 00:00:00 2001 From: Seph Mard Date: Tue, 20 Aug 2024 21:30:42 -0400 Subject: [PATCH] Created using Colab --- Report_API_Quickstart.ipynb | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/Report_API_Quickstart.ipynb b/Report_API_Quickstart.ipynb index a9d53782..0fd6c89d 100644 --- a/Report_API_Quickstart.ipynb +++ b/Report_API_Quickstart.ipynb @@ -10,16 +10,6 @@ "\"Open" ] }, - { - "cell_type": "markdown", - "metadata": { - "id": "LT3gAkpM7NDM" - }, - "source": [ - "\"Open\n", - "" - ] - }, { "cell_type": "markdown", "metadata": { @@ -394,7 +384,7 @@ " panels=[\n", " wr.LinePlot(x='Step', y=['val_acc'], smoothing_factor=0.8),\n", " wr.BarPlot(metrics=['acc']),\n", - " wr.MediaBrowser(media_keys=['img'], num_columns=1), # Note: media_keys as a list\n", + " wr.MediaBrowser(media_keys=['img'], num_columns=1),\n", " wr.RunComparer(diff_only='split', layout={'w': 24, 'h': 9}),\n", " ]\n", ")\n", @@ -510,7 +500,7 @@ "source": [ "import wandb_workspaces.reports.v2 as wr\n", "\n", - "# Define your report with updated parameters and structure\n", + "\n", "report = wr.Report(\n", " project=PROJECT,\n", " title=\"Resizing panels\",\n", @@ -534,7 +524,7 @@ " ]\n", ")\n", "\n", - "# Save the report\n", + "\n", "report.save()\n" ] }, @@ -612,7 +602,6 @@ " ]\n", ")\n", "\n", - "# Save the report\n", "report.save()\n" ] }, @@ -728,19 +717,19 @@ " ),\n", " # Add WeaveBlock types directly to the blocks list\n", " wr.WeaveBlockSummaryTable(\n", - " entity=\"your_entity\", # Replace with your actual entity\n", - " project=\"your_project\", # Replace with your actual project\n", + " entity=\"your_entity\",\n", + " project=\"your_project\",\n", " table_name=\"my-table\"\n", " ),\n", " wr.WeaveBlockArtifact(\n", - " entity=\"your_entity\", # Replace with your actual entity\n", - " project=\"your_project\", # Replace with your actual project\n", + " entity=\"your_entity\",\n", + " project=\"your_project\",\n", " artifact='model-1',\n", " tab='lineage'\n", " ),\n", " wr.WeaveBlockArtifactVersionedFile(\n", - " entity=\"your_entity\", # Replace with your actual entity\n", - " project=\"your_project\", # Replace with your actual project\n", + " entity=\"your_entity\",\n", + " project=\"your_project\",\n", " artifact='model-1',\n", " version='v0',\n", " file=\"dataframe.table.json\"\n", @@ -842,21 +831,21 @@ " project=\"cleanrl\",\n", " name=\"DQN\",\n", " groupby=[\"exp_name\"]\n", - " # Removed filters for testing\n", + "\n", " ),\n", " wr.Runset(\n", " entity=\"openrlbenchmark\",\n", " project=\"cleanrl\",\n", " name=\"SAC-discrete 0.8\",\n", " groupby=[\"exp_name\"]\n", - " # Removed filters for testing\n", + "\n", " ),\n", " wr.Runset(\n", " entity=\"openrlbenchmark\",\n", " project=\"cleanrl\",\n", " name=\"SAC-discrete 0.88\",\n", " groupby=[\"exp_name\"]\n", - " # Removed filters for testing\n", + "\n", " ),\n", " ],\n", " custom_run_colors={\n",