Update config.pbtxt
Browse files- config.pbtxt +19 -12
config.pbtxt
CHANGED
|
@@ -1,18 +1,25 @@
|
|
| 1 |
backend: "python"
|
| 2 |
-
max_batch_size: 0
|
| 3 |
|
| 4 |
input [
|
| 5 |
-
{
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
}
|
| 10 |
]
|
| 11 |
|
| 12 |
output [
|
| 13 |
-
{
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
}
|
| 18 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
backend: "python"
|
| 2 |
+
max_batch_size: 0 # Keep batching disabled as per original config
|
| 3 |
|
| 4 |
input [
|
| 5 |
+
{
|
| 6 |
+
name: "input_jp2_bytes" # New input name for JP2 bytes
|
| 7 |
+
data_type: TYPE_STRING # Use TYPE_STRING for bytes
|
| 8 |
+
dims: [ 3 ] # Expecting 3 elements: Red, Green, NIR bytes
|
| 9 |
+
}
|
| 10 |
]
|
| 11 |
|
| 12 |
output [
|
| 13 |
+
{
|
| 14 |
+
name: "output_mask"
|
| 15 |
+
data_type: TYPE_UINT8
|
| 16 |
+
dims: [-1, -1] # Variable height, width
|
| 17 |
+
}
|
| 18 |
+
]
|
| 19 |
+
|
| 20 |
+
# Optional: Specify instance_group if running on GPU
|
| 21 |
+
# instance_group [
|
| 22 |
+
# {
|
| 23 |
+
# kind: KIND_GPU
|
| 24 |
+
# }
|
| 25 |
+
# ]
|