-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add check for skip_intermediaries vs. reduction_worker_type
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
...n/subchunkable/specs/exc/test_uint8_exc_skip_intermediaries_but_reduction_worker_type.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#SRC_PATH: "assets/inputs/fafb_v15_img_128_128_40-2048-3072_2000-2050_uint8" | ||
#DST_PATH: "assets/outputs/test_uint8_exc_skip_intermediaries_but_reduction_worker_type" | ||
|
||
#BBOX: { | ||
"@type": "BBox3D.from_coords" | ||
start_coord: [64 * 1024, 64 * 1024, 2000] | ||
end_coord: [96 * 1024, 96 * 1024, 2005] | ||
resolution: [4, 4, 40] | ||
} | ||
|
||
#FLOW: { | ||
"@type": "build_subchunkable_apply_flow" | ||
fn: { | ||
"@type": "lambda" | ||
lambda_str: "lambda src: src" | ||
} | ||
processing_chunk_sizes: [[1024, 1024, 1], [512, 512, 1]] | ||
processing_crop_pads: [[0, 0, 0], [0, 0, 0]] | ||
processing_blend_pads: [[0, 0, 0], [0, 0, 0]] | ||
skip_intermediaries: true | ||
expand_bbox_processing: true | ||
dst_resolution: [128, 128, 40] | ||
bbox: #BBOX | ||
op_kwargs: { | ||
src: { | ||
"@type": "build_cv_layer" | ||
path: #SRC_PATH | ||
} | ||
} | ||
dst: { | ||
"@type": "build_cv_layer" | ||
path: #DST_PATH | ||
info_reference_path: #SRC_PATH | ||
} | ||
reduction_worker_type: "some_worker_type" | ||
} | ||
|
||
"@type": "mazepa.execute" | ||
target: #FLOW |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters