Make clearml installation in jupyter notebooks optional

This commit is contained in:
Alex Burlacu
2023-04-03 18:30:57 +03:00
parent 202d93ce21
commit f9b370b947
18 changed files with 157 additions and 85 deletions

View File

@@ -1,5 +1,17 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install -U pip\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# !pip install -U clearml>=0.16.1"
]
},
{
"cell_type": "code",
"execution_count": null,
@@ -10,15 +22,13 @@
},
"outputs": [],
"source": [
"! pip install -U pip\n",
"! pip install -U torch==1.5.1\n",
"! pip install -U torchaudio==0.5.1\n",
"! pip install -U torchvision==0.6.1\n",
"! pip install -U matplotlib==3.2.1\n",
"! pip install -U clearml>=0.16.1\n",
"! pip install -U pandas==1.0.4\n",
"! pip install -U numpy==1.18.4\n",
"! pip install -U tensorboard==2.2.1"
"!pip install -U torch==1.5.1\n",
"!pip install -U torchaudio==0.5.1\n",
"!pip install -U torchvision==0.6.1\n",
"!pip install -U matplotlib==3.2.1\n",
"!pip install -U pandas==1.0.4\n",
"!pip install -U numpy==1.18.4\n",
"!pip install -U tensorboard==2.2.1"
]
},
{

View File

@@ -1,5 +1,17 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install -U pip\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# !pip install -U clearml>=0.16.1"
]
},
{
"cell_type": "code",
"execution_count": null,
@@ -8,12 +20,10 @@
},
"outputs": [],
"source": [
"! pip install -U pip\n",
"! pip install -U torch==1.5.1\n",
"! pip install -U torchaudio==0.5.1\n",
"! pip install -U matplotlib==3.2.1\n",
"! pip install -U clearml>=0.16.1\n",
"! pip install -U tensorboard==2.2.1"
"!pip install -U torch==1.5.1\n",
"!pip install -U torchaudio==0.5.1\n",
"!pip install -U matplotlib==3.2.1\n",
"!pip install -U tensorboard==2.2.1"
]
},
{

View File

@@ -10,9 +10,11 @@
"# ! pip install -U clearml-agent==0.15.0\n",
"# ! clearml-agent daemon --queue default\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml>=0.16.2\n",
"\n",
"# pip install with locked versions\n",
"! pip install -U pandas==1.0.3\n",
"! pip install -U clearml>=0.16.2\n",
"! pip install -U optuna==2.0.0"
]
},
@@ -136,4 +138,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

View File

@@ -6,16 +6,18 @@
"metadata": {},
"outputs": [],
"source": [
"# execute this in command line before initiating the notebook: \n",
"# execute this in command line before initiating the notebook:\n",
"# pip install -U pip\n",
"# pip install -U ipywidgets==7.5.1\n",
"# jupyter nbextension enable --py widgetsnbextension\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml>=0.16.1\n",
"\n",
"# pip install with locked versions\n",
"! pip install -U torch==1.5.1\n",
"! pip install -U torchvision==0.6.1\n",
"! pip install -U numpy==1.18.4\n",
"! pip install -U clearml>=0.16.1\n",
"! pip install -U tensorboard==2.2.1"
]
},

View File

@@ -7,8 +7,18 @@
"outputs": [],
"source": [
"! pip install -U pip\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml>=0.15.1"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"! pip install -U torch==1.5.1\n",
"! pip install -U clearml>=0.15.1\n",
"! pip install -U pandas==1.0.4\n",
"! pip install -U numpy==1.18.4\n",
"! pip install -U pathlib2==2.3.5\n",
@@ -348,4 +358,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

View File

@@ -7,7 +7,17 @@
"outputs": [],
"source": [
"! pip install -U pip\n",
"! pip install -U clearml==0.16.2rc0\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml==0.16.2rc0"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"! pip install -U pandas==1.0.4\n",
"! pip install -U scikit-learn==0.23.1\n",
"! pip install -U pathlib2==2.3.5"

View File

@@ -14,7 +14,9 @@
"outputs": [],
"source": [
"! pip install -U pip\n",
"! pip install -U clearml==0.16.2rc0"
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml==0.16.2rc0"
]
},
{

View File

@@ -14,7 +14,17 @@
"outputs": [],
"source": [
"! pip install -U pip\n",
"! pip install -U clearml==0.16.2rc0\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml==0.16.2rc0"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"! pip install -U pandas==1.0.4\n",
"! pip install -U numpy==1.18.4"
]
@@ -376,4 +386,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

View File

@@ -33,7 +33,9 @@
"source": [
"# pip install with locked versions\n",
"! pip install -U pip\n",
"! pip install -U clearml"
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml"
]
},
{
@@ -256,4 +258,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

View File

@@ -14,8 +14,18 @@
"outputs": [],
"source": [
"! pip install -U pip\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml==0.16.2rc0"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"! pip install -U torch==1.5.1\n",
"! pip install -U clearml==0.16.2rc0\n",
"! pip install -U pandas==1.0.4\n",
"! pip install -U numpy==1.18.4\n",
"! pip install -U tensorboard==2.2.1"

View File

@@ -7,10 +7,20 @@
"outputs": [],
"source": [
"! pip install -U pip\n",
"\n",
"# If you don't have ClearML installed then uncomment this line\n",
"# ! pip install -U clearml>=0.15.0"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"! pip install -U torch==1.5.0\n",
"! pip install -U torchtext==0.6.0\n",
"! pip install -U matplotlib==3.2.1\n",
"! pip install -U clearml>=0.15.0\n",
"! pip install -U tensorboard==2.2.1"
]
},