Skip to content

Commit

Permalink
[devops] make linters almost happy (#1641)
Browse files Browse the repository at this point in the history
* black

* ruff check fix

* removed unused metrics
  • Loading branch information
ourownstory authored Aug 30, 2024
1 parent 565c7d5 commit 6807a3a
Show file tree
Hide file tree
Showing 12 changed files with 891 additions and 907 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,6 @@
"source": [
"try:\n",
" # it already installed dependencies\n",
" from torchsummary import summary\n",
" from torchviz import make_dot\n",
"except:\n",
" # install graphviz on system\n",
Expand All @@ -768,7 +767,6 @@
" !pip install torchviz\n",
" !pip install graphviz\n",
" # import\n",
" from torchsummary import summary\n",
" from torchviz import make_dot"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,6 @@
"source": [
"try:\n",
" # it already installed dependencies\n",
" from torchsummary import summary\n",
" from torchviz import make_dot\n",
"except:\n",
" # install graphviz on system\n",
Expand All @@ -1326,7 +1325,6 @@
" !pip install torchviz\n",
" !pip install graphviz\n",
" # import\n",
" from torchsummary import summary\n",
" from torchviz import make_dot"
]
},
Expand Down
4 changes: 2 additions & 2 deletions docs/source/how-to-guides/feature-guides/mlflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
},
{
"cell_type": "markdown",
"id": "7fb27b941602401d91542211134fc71a",
"metadata": {},
"source": [
"## Advanced Example \n",
Expand All @@ -246,6 +247,7 @@
{
"cell_type": "code",
"execution_count": 7,
"id": "acae54e37e7d407bbb7b55eff062a284",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -254,7 +256,6 @@
"# Copy and paste url from command line to web browser\n",
"\n",
"import mlflow\n",
"import torchmetrics\n",
"from mlflow.data.pandas_dataset import PandasDataset\n",
"\n",
"if local:\n",
Expand All @@ -272,7 +273,6 @@
" )\n",
"\n",
" import mlflow.pytorch\n",
" from mlflow.client import MlflowClient\n",
"\n",
" model_name = \"NeuralProphet\"\n",
"\n",
Expand Down
Loading

0 comments on commit 6807a3a

Please sign in to comment.