Skip to content

Instantly share code, notes, and snippets.

@JoeStrout
Created January 19, 2024 15:39
Show Gist options
  • Save JoeStrout/14879c2c923ec63925243559d661f47d to your computer and use it in GitHub Desktop.
Save JoeStrout/14879c2c923ec63925243559d661f47d to your computer and use it in GitHub Desktop.
#SRC_PATH: "assets/inputs/fafb_v15_img_128_128_40-2048-3072_2000-2050_float32"
//#DST_PATH: "output/float32_copy"
#DST_PATH: "gs://tmp_2w/joe_nodst"
#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]]
processing_crop_pads: [[0, 0, 0]]
expand_bbox_processing: true
dst_resolution: [128, 128, 40]
bbox: #BBOX
op_kwargs: {
src: {
"@type": "build_cv_layer"
path: #SRC_PATH
}
}
dst: null
skip_intermediaries: true
expand_bbox_backend: false
}
"@type": "mazepa.execute"
target: #FLOW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment