File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class PrestoFeatureExtractor(PatchFeatureExtractor):
19
19
"""
20
20
21
21
PRESTO_MODEL_URL = "https://artifactory.vgt.vito.be/artifactory/auxdata-public/worldcereal-minimal-inference/presto.pt" # NOQA
22
- PRESO_WHL_URL = "https://artifactory.vgt.vito.be/artifactory/auxdata-public/worldcereal/dependencies/presto_worldcereal-0.1.0 -py3-none-any.whl"
22
+ PRESO_WHL_URL = "https://artifactory.vgt.vito.be/artifactory/auxdata-public/worldcereal/dependencies/presto_worldcereal-0.1.1 -py3-none-any.whl"
23
23
BASE_URL = "https://s3.waw3-1.cloudferro.com/swift/v1/project_dependencies" # NOQA
24
24
DEPENDENCY_NAME = "worldcereal_deps.zip"
25
25
@@ -103,7 +103,9 @@ def execute(self, inarr: xr.DataArray) -> xr.DataArray:
103
103
)
104
104
105
105
self .logger .info ("Extracting presto features" )
106
- features = get_presto_features (inarr , presto_model_url , self .epsg )
106
+ features = get_presto_features (
107
+ inarr , presto_model_url , self .epsg , batch_size = 4096
108
+ )
107
109
return features
108
110
109
111
def _execute (self , cube : XarrayDataCube , parameters : dict ) -> XarrayDataCube :
You can’t perform that action at this time.
0 commit comments