Skip to content

Commit

Permalink
Update IPPN workshop notebook (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Oct 8, 2024
1 parent 0992479 commit 17f8971
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/workshops/IPPN_2024.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@
"metadata": {},
"outputs": [],
"source": [
"resampled_chm_data = chm_data.rio.reproject(crs, resolution=(0.1, 0.1))\n",
"resampled_chm_data = chm_data.rio.reproject_match(resampled_data)\n",
"resampled_chm_data.shape"
]
},
Expand Down Expand Up @@ -1346,11 +1346,11 @@
"metadata": {},
"outputs": [],
"source": [
"sam2.region_groups(\n",
" image,\n",
"da, gdf = sam2.region_groups(\n",
" \"masks2.tif\",\n",
" connectivity=1,\n",
" min_size=10,\n",
" max_size=1000,\n",
" max_size=2000,\n",
" intensity_image=\"chm_202206.tif\",\n",
" out_image=\"objects.tif\",\n",
" out_csv=\"objects.csv\",\n",
Expand Down Expand Up @@ -1484,7 +1484,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.7"
"version": "3.11.8"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 17f8971

Please sign in to comment.