segment-geospatial 1.2.0__tar.gz → 1.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.pre-commit-config.yaml +1 -1
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/PKG-INFO +1 -1
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/pyproject.toml +2 -2
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/__init__.py +1 -1
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/samgeo3.py +9 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/segment_geospatial.egg-info/PKG-INFO +1 -1
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.editorconfig +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/FUNDING.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/dependabot.yaml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/docker-image.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/docker-publish.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/docs-build.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/docs.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/draft-pdf.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/macos.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/pypi.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/ubuntu.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/workflows/windows.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.gitignore +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/CITATION.cff +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/CODE_OF_CONDUCT.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/Dockerfile +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/LICENSE +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/MANIFEST.in +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/README.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/CNAME +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/assets/README.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/assets/favicon.png +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/assets/logo.png +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/assets/logo_rect.png +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/caption.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/changelog.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/changelog_update.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/common.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/contributing.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/arcgis.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/automatic_mask_generator.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/automatic_mask_generator_hq.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/box_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/data/tree_boxes.geojson +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/fast_sam.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/image_captioning.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/input_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/input_prompts_hq.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/maxar_open_data.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam2_automatic.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam2_box_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam2_point_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam2_predictor.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam2_text_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam2_video.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_automated_segmentation.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_batch_segmentation.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_box_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_image_segmentation.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_image_segmentation_jpg.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_interactive.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_object_tracking.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_point_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_point_prompts_batch.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_tiled_segmentation.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_video_masks.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_video_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_video_segmentation.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/satellite-predictor.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/satellite.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/text_prompts.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/text_prompts_batch.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/text_swimming_pools.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/tree_mapping.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/faq.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/fast_sam.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/hq_sam.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/index.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/installation.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/overrides/main.html +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/samgeo.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/samgeo2.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/samgeo3.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/text_sam.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/usage.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/workshops/AIforGood_2025.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/workshops/IPPN_2024.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/workshops/cn_workshop.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/workshops/jupytext.toml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/workshops/purdue.ipynb +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/mkdocs.yml +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/paper/10.21105.joss.05663.pdf +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/paper/paper.bib +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/paper/paper.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/LICENSE +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/README.md +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/__init__.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/icons/icon.png +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/install_plugin.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/install_plugin.sh +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/map_tools.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/metadata.txt +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/resources.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/samgeo_plugin.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/qgis-samgeo-plugin/test_plugin.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/requirements.txt +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/requirements_dev.txt +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/requirements_docs.txt +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/caption.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/common.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/fast_sam.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/fer.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/hq_sam.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/samgeo.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/samgeo2.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/text_sam.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/samgeo/utmconv.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/segment_geospatial.egg-info/SOURCES.txt +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/segment_geospatial.egg-info/dependency_links.txt +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/segment_geospatial.egg-info/requires.txt +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/segment_geospatial.egg-info/top_level.txt +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/setup.cfg +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/tests/__init__.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/tests/test_common.py +0 -0
- {segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/tests/test_samgeo.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "segment-geospatial"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.1"
|
|
8
8
|
dynamic = [
|
|
9
9
|
"dependencies",
|
|
10
10
|
]
|
|
@@ -111,7 +111,7 @@ dependencies = {file = ["requirements.txt"]}
|
|
|
111
111
|
universal = true
|
|
112
112
|
|
|
113
113
|
[tool.bumpversion]
|
|
114
|
-
current_version = "1.2.
|
|
114
|
+
current_version = "1.2.1"
|
|
115
115
|
commit = true
|
|
116
116
|
tag = true
|
|
117
117
|
|
|
@@ -200,6 +200,15 @@ class SamGeo3:
|
|
|
200
200
|
url = "https://huggingface.co/datasets/giswqs/geospatial/resolve/main/bpe_simple_vocab_16e6.txt.gz"
|
|
201
201
|
bpe_path = common.download_file(url, bpe_path, quiet=True)
|
|
202
202
|
|
|
203
|
+
if os.environ.get("SAM3_CHECKPOINT_PATH") is not None:
|
|
204
|
+
checkpoint_path = os.environ.get("SAM3_CHECKPOINT_PATH")
|
|
205
|
+
load_from_HF = False
|
|
206
|
+
|
|
207
|
+
if checkpoint_path is not None:
|
|
208
|
+
if not os.path.exists(checkpoint_path):
|
|
209
|
+
raise ValueError(f"Checkpoint path {checkpoint_path} does not exist.")
|
|
210
|
+
load_from_HF = False
|
|
211
|
+
|
|
203
212
|
model = build_sam3_image_model(
|
|
204
213
|
bpe_path=bpe_path,
|
|
205
214
|
device=device,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/.github/ISSUE_TEMPLATE/feature_request.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/automatic_mask_generator.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam2_point_prompts.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_batch_segmentation.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_image_segmentation.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_object_tracking.ipynb
RENAMED
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_point_prompts.ipynb
RENAMED
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_point_prompts_batch.ipynb
RENAMED
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_tiled_segmentation.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_video_prompts.ipynb
RENAMED
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/sam3_video_segmentation.ipynb
RENAMED
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/satellite-predictor.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/text_prompts_batch.ipynb
RENAMED
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/docs/examples/text_swimming_pools.ipynb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/segment_geospatial.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/segment_geospatial.egg-info/requires.txt
RENAMED
|
File without changes
|
{segment_geospatial-1.2.0 → segment_geospatial-1.2.1}/segment_geospatial.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|