junaid-simamdigital commited on
Commit
6a17bf1
·
verified ·
1 Parent(s): 471c6e6

Record pose-aware next-view plans

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ from validate_manifest import validate_manifest
57
 
58
  MODEL_ID = os.getenv("SIMAM3D_DEPTH_MODEL", "depth-anything/Depth-Anything-V2-Small-hf")
59
  DA3_MODEL_ID = os.getenv("SIMAM3D_DA3_MODEL", "depth-anything/DA3NESTED-GIANT-LARGE-1.1")
60
- SIMAM3D_VERSION = "0.4.3"
61
  MANIFEST_SCHEMA_VERSION = 3
62
  OUTPUT_DIR = Path("output")
63
  MAX_VIEWS = int(os.getenv("SIMAM3D_MAX_VIEWS", "8"))
@@ -745,7 +745,7 @@ def generate(image: Image.Image, extra_files, backend: str, guess: str, demo_mod
745
  uncertainty = reveal_uncertainty(depth[0], confidence[0])
746
  depth_lighting = estimate_depth_light(depth[0], np.asarray(images[0].resize(depth[0].shape[::-1], Image.Resampling.LANCZOS)))
747
  uncertainty_path = save_uncertainty_map(uncertainty, run_id)
748
- view_plan = next_view_plan(view_count)
749
  evidence_card = make_evidence_card(
750
  images[0], depth[0], confidence[0], backend_used, view_count, fusion_stats, run_id
751
  )
 
57
 
58
  MODEL_ID = os.getenv("SIMAM3D_DEPTH_MODEL", "depth-anything/Depth-Anything-V2-Small-hf")
59
  DA3_MODEL_ID = os.getenv("SIMAM3D_DA3_MODEL", "depth-anything/DA3NESTED-GIANT-LARGE-1.1")
60
+ SIMAM3D_VERSION = "0.4.4"
61
  MANIFEST_SCHEMA_VERSION = 3
62
  OUTPUT_DIR = Path("output")
63
  MAX_VIEWS = int(os.getenv("SIMAM3D_MAX_VIEWS", "8"))
 
745
  uncertainty = reveal_uncertainty(depth[0], confidence[0])
746
  depth_lighting = estimate_depth_light(depth[0], np.asarray(images[0].resize(depth[0].shape[::-1], Image.Resampling.LANCZOS)))
747
  uncertainty_path = save_uncertainty_map(uncertainty, run_id)
748
+ view_plan = next_view_plan(view_count, extrinsics)
749
  evidence_card = make_evidence_card(
750
  images[0], depth[0], confidence[0], backend_used, view_count, fusion_stats, run_id
751
  )