diff --git a/decloud/production/inference.py b/decloud/production/inference.py index 4570577681b0f6beed242c335c53fdd1a6bf7909..4aa8df30d000c8411d82c585119aa5b5e3f2401d 100644 --- a/decloud/production/inference.py +++ b/decloud/production/inference.py @@ -90,7 +90,7 @@ def inference(sources, sources_scales, pad, ts, savedmodel_dir, out_tensor, out_ "output.names": [padded_tensor_name(out_tensor, pad)], "output.efieldx": efield, "output.efieldy": efield, "optim.tilesizex": efield, "optim.tilesizey": efield, - "optim.disabletiling": 1}) + "optim.disabletiling": True}) infer = pyotb.TensorflowModelServe(parameters) # Post Processing diff --git a/decloud/production/monthly_synthesis_processor_s2.py b/decloud/production/monthly_synthesis_processor_s2.py index b0624143952b17db70ec6c8b8a527878839b7900..8180c64fe278eee9adaf5db61dcff1d86c27386c 100644 --- a/decloud/production/monthly_synthesis_processor_s2.py +++ b/decloud/production/monthly_synthesis_processor_s2.py @@ -113,7 +113,7 @@ def monthly_synthesis_inference(sources, sources_scales, pad, ts, savedmodel_dir "output.names": [padded_tensor_name(out_tensor, pad)], "output.efieldx": efield, "output.efieldy": efield, "optim.tilesizex": efield, "optim.tilesizey": efield, - "optim.disabletiling": 1}) + "optim.disabletiling": True}) infer = pyotb.TensorflowModelServe(infer_params) # For ESA Sentinel-2, remove potential zeros the network may have introduced in the valid parts of the image diff --git a/decloud/production/monthly_synthesis_processor_s2s1.py b/decloud/production/monthly_synthesis_processor_s2s1.py index 46e10e7e450404c2241bc3e6179f6762372bd603..36ec22a5706e1b11467c452feb9373d814d165ca 100644 --- a/decloud/production/monthly_synthesis_processor_s2s1.py +++ b/decloud/production/monthly_synthesis_processor_s2s1.py @@ -113,7 +113,7 @@ def monthly_synthesis_inference(sources, sources_scales, pad, ts, savedmodel_dir "output.names": [padded_tensor_name(out_tensor, pad)], "output.efieldx": efield, "output.efieldy": efield, "optim.tilesizex": efield, "optim.tilesizey": efield, - "optim.disabletiling": 1}) + "optim.disabletiling": True}) infer = pyotb.TensorflowModelServe(infer_params) # For ESA Sentinel-2, remove potential zeros the network may have introduced in the valid parts of the image