Skip to content

Commit

Permalink
chore: minor change to remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Jun 3, 2024
1 parent 48ca9f8 commit d87b1de
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions examples/sahi_detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
"cell_type": "markdown",
"id": "5fec46c020b895a",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
"collapsed": false
},
"source": [
"# Welcome to the SAHI detection notebook. \n",
Expand All @@ -19,10 +16,7 @@
"cell_type": "markdown",
"id": "3ce3d68ddd33bd3c",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
"collapsed": false
},
"source": [
"# First, import needed dependencies"
Expand All @@ -37,7 +31,6 @@
"source": [
"import sys\n",
"sys.path.append('..')\n",
"from pathlib import Path\n",
"from huggingface_hub import hf_hub_download\n",
"from pathlib import Path\n",
"from sdcat.detect.sahi_detector import run_sahi_detect\n",
Expand All @@ -48,10 +41,7 @@
"cell_type": "markdown",
"id": "a366e55bf59e7a79",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
"collapsed": false
},
"source": [
"# Run detection\n",
Expand All @@ -65,10 +55,7 @@
"id": "9f9dd3f8-c886-4d32-a203-5204a343e721",
"metadata": {
"collapsed": false,
"is_executing": true,
"jupyter": {
"outputs_hidden": false
}
"is_executing": true
},
"outputs": [
{
Expand Down Expand Up @@ -172,10 +159,7 @@
"cell_type": "markdown",
"id": "3bda2110765d92e2",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
"collapsed": false
},
"source": [
"# Results"
Expand All @@ -185,10 +169,7 @@
"cell_type": "markdown",
"id": "ae874cee7b4e83a9",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
"collapsed": false
},
"source": [
"Results are saved to the **csv_out_path**. Let's take a look at the first few rows of the dataframe."
Expand Down

0 comments on commit d87b1de

Please sign in to comment.