dvlt / README.md
aburzio-nv's picture
Preserve portrait video display rotation in previews and GLB viewer
d872c18 verified
|
Raw History Blame Contribute Delete
4.07 kB
---
title: Déjà View
emoji: 👁
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 6.31.0
python_version: '3.12'
app_file: app.py
license: apache-2.0
---
# Déjà View
DVLT reconstructs camera poses and 3D geometry from images or video.
The hosted app serves DVLT only, with 8–16 inference steps and cached
16-step examples. Visualization controls are under Advanced.
Model selection is available only from the command line, not in the GUI.
The **Filter sky** control is enabled by default and available under Advanced.
Reconstruction displays and logs **Network forward pass** time with CUDA
synchronized before and after the network call. Loading, preprocessing,
prediction postprocessing, sky filtering and file export are excluded.
Displayed throughput FPS is input frame count divided by network forward seconds.
Visualization-only changes retain the last timing; cached examples do not
run the network or display a newly measured time.
Reconstruction estimates its GPU callback budget from image count, inference
steps and sky filtering, with a safety margin and a 12–80 second range. On the
current Blackwell factor of 1.5 this reserves about 18–120 quota seconds. If the
scheduler rejects the reservation and reports remaining quota, the app can retry
once with less safety margin when the estimated work still fits. It never retries
a runtime failure or changes the input count/inference quality. No visitor billing
permissions are requested. Visualization updates reuse CPU predictions and do not
reserve a GPU slot. The hidden model-loading callback retains its 80-second cap.
The deployed Space uses **Public** visibility. The app and its source repository
are publicly accessible. Visibility is a Space setting, not controlled by this README.
## Uploads and temporary results
Live inference accepts JPEG, PNG or WebP images and supported video files,
up to 300 images or sampled video frames. Images and sampled video frames are
resized to a maximum long side of 504 pixels before being retained for inference;
the original image resolution is not capped at 16 megapixels.
Uploads are limited to 100 MB per file at the
HTTP upload boundary and 256 MiB total per submitted collection. Videos
are sampled at 0.5–30 FPS, with no limit on the original video frame count.
Video decoding has a 30-second timeout.
Video display-rotation metadata is applied once before input previews are made.
Portrait frames remain upright in the input and depth previews. Inference keeps
its internal portrait-to-landscape rotation; GLB export compensates for that
rotation about the reference camera, transforming points and camera overlays
together. Landscape inputs keep their existing export orientation.
Uploads, previews and reconstruction downloads use temporary server storage.
Gradio cache cleanup is configured to remove files older than one hour,
checked every five minutes while the server is running. In-memory session
state has a one-hour expiry. These application settings do not establish
Hugging Face platform-log, backup or infrastructure retention. Those must
be confirmed separately before any broader retention promise.
Results include downloadable GLB and RRD files. Fixed examples also expose
input previews, depth previews and the camera/depth files listed in their
manifest. Cached examples are persistent demonstration assets, separate
from visitor uploads. Do not upload confidential or sensitive content.
## Licensing and model identity
The code is primarily Apache 2.0 with third-party exceptions documented in
`THIRD_PARTY_LICENSES.md` and `LICENSES/`. The model weights have separate
NVIDIA non-commercial research/evaluation terms; the code license does not
license the model or establish the approved terms of this hosted service.
The hosted model is pinned to `nvidia/dvlt` revision
`20f919875a00ee3ab2e840f2f31580f4652b7c5e`.
Service terms and privacy notices must reflect the approved release review.
[Project](https://research.nvidia.com/labs/dvl/projects/dvlt/) ·
[Code](https://github.com/nv-tlabs/dvlt)