Skip to content

Commit

Permalink
Created using Colab
Browse files Browse the repository at this point in the history
  • Loading branch information
sephmard committed Aug 21, 2024
1 parent e15417d commit 1c17466
Showing 1 changed file with 12 additions and 23 deletions.
35 changes: 12 additions & 23 deletions Report_API_Quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
"<a href=\"https://colab.research.google.com/github/wandb/examples/blob/report_api_v2_updates/Report_API_Quickstart.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "LT3gAkpM7NDM"
},
"source": [
"<a href=\"https://colab.research.google.com/github/wandb/examples/blob/master/colabs/intro/Report_API_Quickstart.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\n",
"<!--- @wandbcode{python-report-api} -->"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -534,7 +524,7 @@
" ]\n",
")\n",
"\n",
"# Save the report\n",
"\n",
"report.save()\n"
]
},
Expand Down Expand Up @@ -612,7 +602,6 @@
" ]\n",
")\n",
"\n",
"# Save the report\n",
"report.save()\n"
]
},
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 1c17466

Please sign in to comment.