geoai-py 0.9.2__py2.py3-none-any.whl → 0.11.0__py2.py3-none-any.whl
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.
- geoai/__init__.py +2 -1
- geoai/change_detection.py +5 -1
- geoai/dinov3.py +1146 -0
- geoai/geoai.py +11 -0
- geoai/map_widgets.py +174 -0
- geoai/train.py +9 -3
- geoai/utils.py +16 -0
- {geoai_py-0.9.2.dist-info → geoai_py-0.11.0.dist-info}/METADATA +1 -1
- geoai_py-0.11.0.dist-info/RECORD +21 -0
- geoai_py-0.9.2.dist-info/RECORD +0 -19
- {geoai_py-0.9.2.dist-info → geoai_py-0.11.0.dist-info}/WHEEL +0 -0
- {geoai_py-0.9.2.dist-info → geoai_py-0.11.0.dist-info}/entry_points.txt +0 -0
- {geoai_py-0.9.2.dist-info → geoai_py-0.11.0.dist-info}/licenses/LICENSE +0 -0
- {geoai_py-0.9.2.dist-info → geoai_py-0.11.0.dist-info}/top_level.txt +0 -0
geoai/__init__.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
__author__ = """Qiusheng Wu"""
|
4
4
|
__email__ = "giswqs@gmail.com"
|
5
|
-
__version__ = "0.
|
5
|
+
__version__ = "0.11.0"
|
6
6
|
|
7
7
|
|
8
8
|
import os
|
@@ -100,3 +100,4 @@ def set_proj_lib_path(verbose=False):
|
|
100
100
|
# set_proj_lib_path()
|
101
101
|
|
102
102
|
from .geoai import *
|
103
|
+
from .dinov3 import DINOv3GeoProcessor, create_similarity_map, analyze_image_patches
|
geoai/change_detection.py
CHANGED
@@ -9,7 +9,11 @@ import numpy as np
|
|
9
9
|
import rasterio
|
10
10
|
from rasterio.windows import from_bounds
|
11
11
|
from skimage.transform import resize
|
12
|
-
|
12
|
+
|
13
|
+
try:
|
14
|
+
from torchange.models.segment_any_change import AnyChange, show_change_masks
|
15
|
+
except ImportError:
|
16
|
+
print("torchange requires Python 3.11 or higher")
|
13
17
|
|
14
18
|
from .utils import download_file
|
15
19
|
|