Commit 93071009 authored by Remi Cresson's avatar Remi Cresson
Browse files

FIX: follow API changes in pyotb

1 merge request!7FIX: follow API changes in pyotb
Pipeline #39771 passed with stages
in 14 minutes and 30 seconds
Showing with 5 additions and 5 deletions
+5 -5
......@@ -66,7 +66,7 @@ def inference(sources, sources_scales, pad, ts, savedmodel_dir, out_tensor, out_
# Setup TensorFlowModelServe
system.set_env_var("OTB_TF_NSOURCES", str(len(sources)))
infer = pyotb.TensorflowModelServe(execute=False)
infer = pyotb.TensorflowModelServe(frozen=True)
# Inputs
for i, (placeholder, source) in enumerate(sources.items()):
......
......@@ -74,10 +74,10 @@ def monthly_synthesis_inference(sources, sources_scales, pad, ts, savedmodel_dir
# Setup TensorFlowModelServe
system.set_env_var("OTB_TF_NSOURCES", str(len(sources)))
infer = pyotb.App("TensorflowModelServe", execute=False)
infer = pyotb.App("TensorflowModelServe", frozen=True)
# Setup BandMath for post processing
bm = pyotb.App("BandMath", execute=False)
bm = pyotb.App("BandMath", frozen=True)
mask_expr = "0"
# Inputs
......
......@@ -74,10 +74,10 @@ def monthly_synthesis_inference(sources, sources_scales, pad, ts, savedmodel_dir
# Setup TensorFlowModelServe
system.set_env_var("OTB_TF_NSOURCES", str(len(sources)))
infer = pyotb.App("TensorflowModelServe", execute=False)
infer = pyotb.App("TensorflowModelServe", frozen=True)
# Setup BandMath for post processing
bm = pyotb.App("BandMath", execute=False)
bm = pyotb.App("BandMath", frozen=True)
mask_expr = "0"
# Inputs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment