File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 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 {
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 {
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 {
You can’t perform that action at this time.
0 commit comments