mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Update examples to ClearML
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
"id": "NKas2cYws8F6"
|
||||
},
|
||||
"source": [
|
||||
"# Allegro Trains matplotlib example\n",
|
||||
"# Allegro ClearML matplotlib example\n",
|
||||
"\n",
|
||||
"[](https://colab.research.google.com/github/allegroai/trains/blob/master/examples/frameworks/matplotlib/Allegro_Trains_matplotlib_example.ipynb)\n",
|
||||
"[](https://colab.research.google.com/github/allegroai/clearml/blob/master/examples/frameworks/matplotlib/Allegro_Trains_matplotlib_example.ipynb)\n",
|
||||
"\n",
|
||||
"This example introduces Trains with matplotlib functionality. It also shows seaborn functionality. You can find more frameworks examples [here](https://github.com/allegroai/trains/tree/master/examples/frameworks).\n",
|
||||
"This example introduces ClearML with matplotlib functionality. It also shows seaborn functionality. You can find more frameworks examples [here](https://github.com/allegroai/clearml/tree/master/examples/frameworks).\n",
|
||||
"\n",
|
||||
"Note: This example is based on the Trains [matplotlib_example.py](https://github.com/allegroai/trains/blob/master/examples/frameworks/matplotlib/matplotlib_example.py) example."
|
||||
"Note: This example is based on the ClearML [matplotlib_example.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/matplotlib/matplotlib_example.py) example."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!pip install trains\n",
|
||||
"!pip install clearml\n",
|
||||
"!pip install numpy\n",
|
||||
"!pip install seaborn"
|
||||
]
|
||||
@@ -40,7 +40,7 @@
|
||||
"source": [
|
||||
"## Create a new task.\n",
|
||||
"\n",
|
||||
"To create a new Task object, call the `Task.init` method providing it with `project_name` (the project name for the experiment) and `task_name` (the name of the experiment). When `Task.init` executes, a link to the Web UI Results page for the newly generated Task will be printed, and the Task will be updated in real time in the Trains demo server.\n",
|
||||
"To create a new Task object, call the `Task.init` method providing it with `project_name` (the project name for the experiment) and `task_name` (the name of the experiment). When `Task.init` executes, a link to the Web UI Results page for the newly generated Task will be printed, and the Task will be updated in real time in the ClearML demo server.\n",
|
||||
"\n",
|
||||
"You can read about the `Task` class in the docs [here](https://allegro.ai/docs/task.html)."
|
||||
]
|
||||
@@ -59,7 +59,7 @@
|
||||
"import numpy as np\n",
|
||||
"import seaborn as sns\n",
|
||||
"\n",
|
||||
"from trains import Task\n",
|
||||
"from clearml import Task\n",
|
||||
"\n",
|
||||
"# Start a new task\n",
|
||||
"task = Task.init(project_name=\"Colab notebooks\", task_name=\"Matplotlib example\")\n"
|
||||
@@ -74,7 +74,7 @@
|
||||
"source": [
|
||||
"## Matplotlib support\n",
|
||||
"\n",
|
||||
"Trains automatically logs Matplotlib plots. They appear in the Web UI Results tab.\n"
|
||||
"ClearML automatically logs Matplotlib plots. They appear in the Web UI Results tab.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -121,7 +121,7 @@
|
||||
"id": "yKT5UjDk6DGB"
|
||||
},
|
||||
"source": [
|
||||
"By calling the `imshow` method, Trains automatically reports plot images in Results tab."
|
||||
"By calling the `imshow` method, ClearML automatically reports plot images in Results tab."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -212,7 +212,7 @@
|
||||
"metadata": {
|
||||
"colab": {
|
||||
"collapsed_sections": [],
|
||||
"name": "Allegro Trains matplotlib example.ipynb",
|
||||
"name": "Allegro ClearML matplotlib example.ipynb",
|
||||
"provenance": []
|
||||
},
|
||||
"kernelspec": {
|
||||
Reference in New Issue
Block a user