File tree Expand file tree Collapse file tree 4 files changed +8
-11
lines changed Expand file tree Collapse file tree 4 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
1
2
- --extra-index-url https://packages.dea.ga.gov.au/
2
+ # For ML
3
+ ai-edge-litert
3
4
datacube-ows >= 1.9
4
5
datacube [performance,s3 ]>= 1.9.5
5
6
eodatasets3 > 1.9
6
- hdstats == 0.1.8.post1
7
+ geomad <= 1.0.0
7
8
numexpr >= 2.11
8
9
odc-algo >= 1.0.1
9
10
odc-apps-cloud >= 0.2.2
@@ -16,7 +17,4 @@ odc-stac>=0.4.0
16
17
17
18
# odc-stac is in PyPI
18
19
odc-stats [ows ]
19
-
20
- # For ML
21
- tflite-runtime
22
20
tl2cgen
Original file line number Diff line number Diff line change 5
5
"""
6
6
7
7
from dask .distributed import WorkerPlugin , get_worker
8
- import tflite_runtime .interpreter as tflite
8
+ from ai_edge_litert .interpreter import Interpreter
9
9
import tl2cgen
10
10
import threading
11
11
import logging
@@ -25,7 +25,7 @@ def get_interpreter(self):
25
25
worker = get_worker ()
26
26
thread_id = threading .get_ident ()
27
27
if thread_id not in worker .interpreters :
28
- interpreter = tflite . Interpreter (model_path = self .model_path )
28
+ interpreter = Interpreter (model_path = self .model_path )
29
29
interpreter .allocate_tensors ()
30
30
worker .interpreters [thread_id ] = interpreter
31
31
self ._log .info (
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ install_requires =
26
26
distributed>=2025.4
27
27
numpy
28
28
odc-cloud[ASYNC]>=0.2.5
29
- odc_algo>=1.0.1
29
+ odc_algo[geomad] >=1.0.1
30
30
odc_dscache>=1.9
31
31
odc_io
32
32
odc-geo>=0.5.0rc1
@@ -42,7 +42,7 @@ install_requires =
42
42
fiona
43
43
rasterio>=1.3.2
44
44
s3fs
45
- tflite-runtime
45
+ ai-edge-litert
46
46
tl2cgen
47
47
48
48
[options.entry_points]
Original file line number Diff line number Diff line change 1
- --extra-index-url https://packages.dea.ga.gov.au/
1
+ ai-edge-litert
2
2
datacube >= 1.9.5
3
3
datacube-ows >= 1.9
4
4
# for pytest-depends
@@ -22,7 +22,6 @@ pytest-cov
22
22
pytest-httpserver
23
23
pytest-timeout
24
24
s3fs
25
- tflite-runtime
26
25
tl2cgen
27
26
28
27
# patch image
You can’t perform that action at this time.
0 commit comments