-
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.
feat: auto_bbox, dst_tighten_bounds, VolumetricApplyFlow+numpy
- Loading branch information
Showing
157 changed files
with
426 additions
and
186 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,64 @@ | ||
// | ||
// Handy variables | ||
#SEG_PATH: "gs://dodam_exp/seg_medcutout" | ||
// Read the `mesh`dir` requirement in mesh_generation.py | ||
#MESH_DIR: "mesh_mip_1_err_40" | ||
#BBOX: { | ||
"@type": "BBox3D.from_coords" | ||
start_coord: [1024 * 5, 1024 * 5, 1995] | ||
end_coord: [1024 * 6, 1024 * 6, 1995 + 128] | ||
resolution: [20, 20, 50] | ||
} | ||
|
||
#SEG_DB_PATH: "dodam-med-seg-512-512-128v3" | ||
#FRAG_DB_PATH: "dodam-med-frag-512-512-128v3" | ||
#PROJECT: "zetta-research" | ||
|
||
|
||
// Execution parameters | ||
"@type": "mazepa.execute_on_gcp_with_sqs" | ||
worker_image: "us-east1-docker.pkg.dev/zetta-research/zutils/zetta_utils:dodam-meshing-15" | ||
worker_cluster_name: "zutils-x3" | ||
worker_cluster_region: "us-east1" | ||
worker_cluster_project: "zetta-research" | ||
worker_resources: { | ||
memory: "18560Mi" | ||
//"nvidia.com/gpu": "1" | ||
} | ||
worker_replicas: 100 | ||
num_procs: 1 | ||
semaphores_spec: { | ||
"read": 1 | ||
"write": 1 | ||
"cuda": 0 | ||
"cpu": 1 | ||
} | ||
|
||
local_test: true // set to `false` execute remotely | ||
do_dryrun_estimation: false | ||
|
||
target: { | ||
"@type": "build_generate_meshes_flow" | ||
bbox: #BBOX | ||
seg_resolution: [20, 20, 50] | ||
frag_chunk_size: [512, 512, 64] | ||
segmentation: { | ||
"@type": "build_cv_layer" | ||
path: #SEG_PATH | ||
} | ||
seg_db: { | ||
"@type": "build_datastore_layer" | ||
namespace: #SEG_DB_PATH | ||
project: #PROJECT | ||
} | ||
frag_db: { | ||
"@type": "build_datastore_layer" | ||
namespace: #FRAG_DB_PATH | ||
project: #PROJECT | ||
} | ||
mesh_dir: #MESH_DIR | ||
frag_num_splits: [2,2,1] | ||
num_lods: 5 | ||
min_shards: 1 | ||
num_shard_no_tasks: 16 | ||
} |
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/inputs/fafb_v15_img_128_128_40-2048-3072_2000-2050_float32/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/inputs/fafb_v15_img_128_128_40-2048-3072_2000-2050_uint8/info
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_float32_copy_blend/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_float32_copy_crop/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_float32_copy_multilevel_checkerboard/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_float32_copy_multilevel_no_checkerboard/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
...s/integration/assets/outputs_ref/test_float32_copy_writeproc_multilevel_checkerboard/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
...tion/assets/outputs_ref/test_float32_copy_writeproc_multilevel_checkerboard_parallel/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
...ntegration/assets/outputs_ref/test_float32_copy_writeproc_multilevel_no_checkerboard/info
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2000-2001.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2001-2002.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2002-2003.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2003-2004.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2004-2005.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2005-2006.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2006-2007.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2007-2008.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2008-2009.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ation/assets/outputs_ref/test_uint8_auto_bbox/128_128_40/2048-3072_2048-3072_2009-2010.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
tests/integration/assets/outputs_ref/test_uint8_auto_bbox/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_auto_divisibility/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_bbox/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_blend/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_coords/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_crop/info
Git LFS file not shown
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_0_0_0/info
Git LFS file not shown
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_0_0_1/info
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_0_1_0/info
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_0_1_1/info
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_1_0_0/info
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_1_0_1/info
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_1_1_0/info
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_1_1_1/info
Git LFS file not shown
3 changes: 0 additions & 3 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_0_0_0/info
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_0_0_1/info
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_0_1_0/info
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_0_1_1/info
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_1_0_0/info
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_1_0_1/info
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_1_1_0/info
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...tricCallableOperation_temp_(2048.0, 2048.0, 2000.0) - (3072.0, 3072.0, 2005.0)_1_1_1/info
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_defer/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_dont_skip_intermediaries/info
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...utputs_ref/test_uint8_copy_dst_tighten_bounds/128_128_40/2048-3072_2048-3072_2000-2001.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...utputs_ref/test_uint8_copy_dst_tighten_bounds/128_128_40/2048-3072_2048-3072_2001-2002.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...utputs_ref/test_uint8_copy_dst_tighten_bounds/128_128_40/2048-3072_2048-3072_2002-2003.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...utputs_ref/test_uint8_copy_dst_tighten_bounds/128_128_40/2048-3072_2048-3072_2003-2004.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...utputs_ref/test_uint8_copy_dst_tighten_bounds/128_128_40/2048-3072_2048-3072_2004-2005.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
tests/integration/assets/outputs_ref/test_uint8_copy_dst_tighten_bounds/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_expand_bbox_backend/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_expand_bbox_processing/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_expand_bbox_resolution/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
...ets/outputs_ref/test_uint8_copy_expand_bbox_resolution_backend_processing_do_nothing/info
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/integration/assets/outputs_ref/test_uint8_copy_fn_semaphores/info
Git LFS file not shown
Oops, something went wrong.