Skip to content

Commit 53928d8

Browse files
committed
Updated notebook
1 parent a249ca1 commit 53928d8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

examples/basic_usage.ipynb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"outputs": [],
5050
"source": [
51-
"# !git clone https://github.com/aliaksandr960/segment-anything-eo.git"
51+
"# %pip install git+https://github.com/opengeos/segment-geospatial.git"
5252
]
5353
},
5454
{
@@ -60,7 +60,9 @@
6060
"outputs": [],
6161
"source": [
6262
"import os\n",
63-
"os.chdir('/home/qiusheng/Documents/Data/')"
63+
"out_dir = '/content/segment-geospatial/'\n",
64+
"os.makedirs(out_dir, exist_ok=True)\n",
65+
"os.chdir(out_dir)"
6466
]
6567
},
6668
{
@@ -75,12 +77,9 @@
7577
},
7678
"outputs": [],
7779
"source": [
78-
"# !pip install rasterio\n",
79-
"# !pip install geopandas\n",
80-
"\n",
8180
"!wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth\n",
82-
"!wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth\n",
83-
"!wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth"
81+
"# !wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth\n",
82+
"# !wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth"
8483
]
8584
},
8685
{

0 commit comments

Comments
 (0)