Add vector infrastructure maps and persistent location experience
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# Vector infrastructure module
|
||||
|
||||
Offline GPU batch container, separate from simulation and the Gaussian renderer.
|
||||
Qualified on Worker006, NVIDIA RTX4090 / Windows Docker WSL. No Mac inference.
|
||||
VMA source MIT, author repository https://github.com/hustvl/VMA, commit and public
|
||||
checkpoint hashes pinned in `assets.py`. Author code is loaded unchanged. The
|
||||
installed CUDA11.7 / Torch1.13.1 base is an explicit external image prerequisite;
|
||||
this is portability to a similarly provisioned NVIDIA worker, not arbitrary-host support.
|
||||
|
||||
Prepare source on the worker: `python prepare.py --source .build`. This also
|
||||
packages the canonical simulation GLB coordinate loader; it never forks it.
|
||||
Build with `DOCKER_BUILDKIT=0 docker compose build vectorizer` on Worker006.
|
||||
The environment workaround affects only this build command. Prepare public weights
|
||||
with the built image, explicit network enabled and only the model directory mounted:
|
||||
`python /app/prepare.py --weights /assets`. Runtime mounts in `compose.yaml` are
|
||||
read-only except outputs; inference runs with network disabled.
|
||||
|
||||
Supply `VECTOR_INPUT`, `VECTOR_ASSETS`, `VECTOR_PACKAGE`, `VECTOR_OUTPUT`. Run
|
||||
`docker compose run --rm vectorizer` for native 1000x1000 overlapping model crops.
|
||||
Then run the same service with `/app/vector_map.py --candidates /output/candidates.json
|
||||
--job /input/job.json --image /input/crossing-top.png --geometry
|
||||
/input/crossing-top.geometry.npz --atlas /input/surface-atlas.npz --package /package
|
||||
--output /output`. Input images, calibration, observed ground atlas and job come
|
||||
from the parent mapping module. Use the parent `atlas.export_dxf` for XYZ DXF.
|
||||
The measured source and collider revisions remain attached to every product.
|
||||
|
||||
Outputs are line objects and polygon footprints, not contours of every mask pixel.
|
||||
The upstream decoder's automatic threshold relaxation is disabled. Fixed confidence
|
||||
and cross-crop suppression retain empty results. Actual visible stripe paint is fit
|
||||
only inside a model-detected zebra envelope; missing stripes are not invented.
|
||||
Heights are intersections with the original collider, checked against rendered
|
||||
visible ground. Missing/occluded sections stay open; the collider is never modified.
|
||||
All products remain observation-only, unreviewed, without route permission.
|
||||
|
||||
Accepted engineering scope: a visually inspected 60m crossing tile, two crossing
|
||||
areas and 14 stripe footprints. Arrow boxes are excluded: their paint geometry did not pass visual acceptance.
|
||||
Curbs remain partial, labels may be wrong, and
|
||||
Gaussian top views distort building sides. This is not a survey accuracy claim,
|
||||
complete city topology, building-footprint map, or a LiDAR360MLS equivalent.
|
||||
The same versioned module can process further tiles; each needs coverage and visual
|
||||
acceptance before using it as a planning constraint. The UI keeps Gaussian,
|
||||
collision, combined and vector-plan views in the existing scene.
|
||||
Reference in New Issue
Block a user