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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = """Qiusheng Wu"""
4
4
  __email__ = "giswqs@gmail.com"
5
- __version__ = "0.9.2"
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
- from torchange.models.segment_any_change import AnyChange, show_change_masks
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