Skip to content

Commit

Permalink
feat: auto_bbox, dst_tighten_bounds, VolumetricApplyFlow+numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
dodamih committed Jun 10, 2024
1 parent 4c5f64b commit b820d86
Show file tree
Hide file tree
Showing 157 changed files with 426 additions and 186 deletions.
66 changes: 0 additions & 66 deletions specs/dodam/meshing_copy.cue

This file was deleted.

64 changes: 64 additions & 0 deletions specs/dodam/meshing_generate_meshes.cue
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
}
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/integration/assets/outputs_ref/test_float32_copy/info
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading

0 comments on commit b820d86

Please sign in to comment.