gitextract__0evbu59/ ├── .gitignore ├── .gitmodules ├── Dockerfile.cuda ├── LICENSE ├── README.md ├── camera_pose_annotation/ │ ├── .gitignore │ ├── README.md │ ├── __init__.py │ ├── camera_tracking/ │ │ ├── __init__.py │ │ ├── camera_tracking.py │ │ └── inference_batch.py │ ├── cvd_opt/ │ │ ├── __init__.py │ │ ├── cvd_opt.py │ │ ├── geometry_utils.py │ │ ├── inference_batch.py │ │ └── preprocess/ │ │ ├── __init__.py │ │ ├── core/ │ │ │ ├── __init__.py │ │ │ ├── corr.py │ │ │ ├── datasets.py │ │ │ ├── extractor.py │ │ │ ├── raft.py │ │ │ ├── update.py │ │ │ └── utils/ │ │ │ ├── __init__.py │ │ │ ├── augmentor.py │ │ │ ├── flow_viz.py │ │ │ ├── frame_utils.py │ │ │ └── utils.py │ │ ├── inference_batch.py │ │ └── preprocess_flow.py │ ├── depth_estimation/ │ │ ├── Depth-Anything/ │ │ │ ├── __init__.py │ │ │ ├── depth_anything_v2/ │ │ │ │ ├── dinov2.py │ │ │ │ ├── dinov2_layers/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── attention.py │ │ │ │ │ ├── block.py │ │ │ │ │ ├── drop_path.py │ │ │ │ │ ├── layer_scale.py │ │ │ │ │ ├── mlp.py │ │ │ │ │ ├── patch_embed.py │ │ │ │ │ └── swiglu_ffn.py │ │ │ │ ├── dpt.py │ │ │ │ └── util/ │ │ │ │ ├── blocks.py │ │ │ │ └── transform.py │ │ │ ├── inference.py │ │ │ └── inference_batch.py │ │ ├── UniDepth/ │ │ │ ├── __init__.py │ │ │ ├── inference.py │ │ │ ├── inference_batch.py │ │ │ └── unidepth/ │ │ │ ├── datasets/ │ │ │ │ ├── _2d3ds.py │ │ │ │ ├── _4dor.py │ │ │ │ ├── __init__.py │ │ │ │ ├── a2d2.py │ │ │ │ ├── adt.py │ │ │ │ ├── aimotive.py │ │ │ │ ├── argoverse.py │ │ │ │ ├── argoverse2.py │ │ │ │ ├── arkit.py │ │ │ │ ├── ase.py │ │ │ │ ├── base_dataset.py │ │ │ │ ├── bdd.py │ │ │ │ ├── bedlam.py │ │ │ │ ├── behave.py │ │ │ │ ├── blendedmvg.py │ │ │ │ ├── cityscape.py │ │ │ │ ├── ddad.py │ │ │ │ ├── deep360.py │ │ │ │ ├── dense.py │ │ │ │ ├── diml.py │ │ │ │ ├── diode.py │ │ │ │ ├── dl3dv.py │ │ │ │ ├── driving_stereo.py │ │ │ │ ├── dtu_rmvd.py │ │ │ │ ├── dummy.py │ │ │ │ ├── dynamic_replica.py │ │ │ │ ├── eden.py │ │ │ │ ├── eth3d.py │ │ │ │ ├── eth3d_rmvd.py │ │ │ │ ├── facedepth.py │ │ │ │ ├── flsea.py │ │ │ │ ├── futurehouse.py │ │ │ │ ├── gibson.py │ │ │ │ ├── hammer.py │ │ │ │ ├── hm3d.py │ │ │ │ ├── hoi4d.py │ │ │ │ ├── hrwsi.py │ │ │ │ ├── hypersim.py │ │ │ │ ├── ibims.py │ │ │ │ ├── image_dataset.py │ │ │ │ ├── ken_burns.py │ │ │ │ ├── kitti.py │ │ │ │ ├── kitti360.py │ │ │ │ ├── kitti_multi.py │ │ │ │ ├── kitti_rmvd.py │ │ │ │ ├── lyft.py │ │ │ │ ├── mapillary.py │ │ │ │ ├── matrix_city.py │ │ │ │ ├── matterport3d.py │ │ │ │ ├── megadepth.py │ │ │ │ ├── megadepth_s.py │ │ │ │ ├── midair.py │ │ │ │ ├── mip.py │ │ │ │ ├── ms2.py │ │ │ │ ├── mvimgnet.py │ │ │ │ ├── mvsynth.py │ │ │ │ ├── nerds360.py │ │ │ │ ├── niantic_mapfree.py │ │ │ │ ├── nuscenes.py │ │ │ │ ├── nyuv2.py │ │ │ │ ├── oasis.py │ │ │ │ ├── pipelines/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── formating.py │ │ │ │ │ └── transforms.py │ │ │ │ ├── point_odyssey.py │ │ │ │ ├── proteus.py │ │ │ │ ├── samplers copy.py │ │ │ │ ├── samplers.py │ │ │ │ ├── scannet.py │ │ │ │ ├── scannetpp.py │ │ │ │ ├── sequence_dataset.py │ │ │ │ ├── sintel copy.py │ │ │ │ ├── sintel.py │ │ │ │ ├── sunrgbd.py │ │ │ │ ├── synscapes.py │ │ │ │ ├── tartanair.py │ │ │ │ ├── taskonomy.py │ │ │ │ ├── tat_rmvd.py │ │ │ │ ├── theo.py │ │ │ │ ├── unrealstereo4k.py │ │ │ │ ├── urbansyn.py │ │ │ │ ├── utils.py │ │ │ │ ├── utils_decode.py │ │ │ │ ├── vkitti.py │ │ │ │ ├── void.py │ │ │ │ ├── waymo.py │ │ │ │ └── wildrgbd.py │ │ │ ├── layers/ │ │ │ │ ├── __init__.py │ │ │ │ ├── activation.py │ │ │ │ ├── attention.py │ │ │ │ ├── convnext.py │ │ │ │ ├── drop_path.py │ │ │ │ ├── layer_scale.py │ │ │ │ ├── mlp.py │ │ │ │ ├── nystrom.py │ │ │ │ ├── nystrom_attention.py │ │ │ │ ├── positional_encoding.py │ │ │ │ └── upsample.py │ │ │ ├── models/ │ │ │ │ ├── __init__.py │ │ │ │ ├── backbones/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── convnext.py │ │ │ │ │ ├── convnext2.py │ │ │ │ │ ├── dinov2.py │ │ │ │ │ └── metadinov2/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── attention.py │ │ │ │ │ ├── block.py │ │ │ │ │ ├── dino_head.py │ │ │ │ │ ├── drop_path.py │ │ │ │ │ ├── layer_scale.py │ │ │ │ │ ├── mlp.py │ │ │ │ │ ├── patch_embed.py │ │ │ │ │ └── swiglu_ffn.py │ │ │ │ ├── encoder.py │ │ │ │ ├── unidepthv1/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── decoder.py │ │ │ │ │ └── unidepthv1.py │ │ │ │ └── unidepthv2/ │ │ │ │ ├── __init__.py │ │ │ │ ├── decoder.py │ │ │ │ ├── decoder_old.py │ │ │ │ ├── export.py │ │ │ │ ├── unidepthv2.py │ │ │ │ └── unidepthv2_old.py │ │ │ ├── ops/ │ │ │ │ ├── __init__.py │ │ │ │ ├── extract_patches/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── compile.sh │ │ │ │ │ ├── functions/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── extract_patches.py │ │ │ │ │ ├── modules/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── patch_extractor.py │ │ │ │ │ ├── setup.py │ │ │ │ │ ├── src/ │ │ │ │ │ │ ├── cpu/ │ │ │ │ │ │ │ ├── extract_patches_cpu.cpp │ │ │ │ │ │ │ └── extract_patches_cpu.h │ │ │ │ │ │ ├── cuda/ │ │ │ │ │ │ │ ├── extract_patches_cuda.h │ │ │ │ │ │ │ ├── extract_patches_kernel.cu │ │ │ │ │ │ │ └── extract_patches_kernel.cuh │ │ │ │ │ │ ├── extract_patches.cpp │ │ │ │ │ │ └── extract_patches.h │ │ │ │ │ └── test.py │ │ │ │ ├── knn/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── compile.sh │ │ │ │ │ ├── functions/ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── knn.py │ │ │ │ │ ├── setup.py │ │ │ │ │ └── src/ │ │ │ │ │ ├── knn.cu │ │ │ │ │ ├── knn.h │ │ │ │ │ ├── knn_cpu.cpp │ │ │ │ │ ├── knn_ext.cpp │ │ │ │ │ └── utils/ │ │ │ │ │ ├── dispatch.cuh │ │ │ │ │ ├── index_utils.cuh │ │ │ │ │ ├── mink.cuh │ │ │ │ │ └── pytorch3d_cutils.h │ │ │ │ ├── losses/ │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── arel.py │ │ │ │ │ ├── confidence.py │ │ │ │ │ ├── distill.py │ │ │ │ │ ├── dummy.py │ │ │ │ │ ├── local_ssi.py │ │ │ │ │ ├── regression.py │ │ │ │ │ ├── silog.py │ │ │ │ │ └── utils.py │ │ │ │ └── scheduler.py │ │ │ └── utils/ │ │ │ ├── __init__.py │ │ │ ├── camera.py │ │ │ ├── chamfer_distance.py │ │ │ ├── constants.py │ │ │ ├── coordinate.py │ │ │ ├── distributed.py │ │ │ ├── ema_torch.py │ │ │ ├── evaluation_depth.py │ │ │ ├── geometric.py │ │ │ ├── misc.py │ │ │ ├── positional_embedding.py │ │ │ ├── sht.py │ │ │ ├── validation.py │ │ │ └── visualization.py │ │ └── __init__.py │ └── dynamic_mask/ │ ├── __init__.py │ ├── inference_batch.py │ └── sam2/ │ ├── __init__.py │ ├── automatic_mask_generator.py │ ├── benchmark.py │ ├── build_sam.py │ ├── configs/ │ │ ├── sam2/ │ │ │ ├── sam2_hiera_b+.yaml │ │ │ ├── sam2_hiera_l.yaml │ │ │ ├── sam2_hiera_s.yaml │ │ │ └── sam2_hiera_t.yaml │ │ ├── sam2.1/ │ │ │ ├── sam2.1_hiera_b+.yaml │ │ │ ├── sam2.1_hiera_l.yaml │ │ │ ├── sam2.1_hiera_s.yaml │ │ │ └── sam2.1_hiera_t.yaml │ │ └── sam2.1_training/ │ │ └── sam2.1_hiera_b+_MOSE_finetune.yaml │ ├── csrc/ │ │ └── connected_components.cu │ ├── modeling/ │ │ ├── __init__.py │ │ ├── backbones/ │ │ │ ├── __init__.py │ │ │ ├── hieradet.py │ │ │ ├── image_encoder.py │ │ │ └── utils.py │ │ ├── memory_attention.py │ │ ├── memory_encoder.py │ │ ├── position_encoding.py │ │ ├── sam/ │ │ │ ├── __init__.py │ │ │ ├── mask_decoder.py │ │ │ ├── prompt_encoder.py │ │ │ └── transformer.py │ │ ├── sam2_base.py │ │ └── sam2_utils.py │ ├── sam2_hiera_b+.yaml │ ├── sam2_hiera_l.yaml │ ├── sam2_hiera_s.yaml │ ├── sam2_hiera_t.yaml │ ├── sam2_image_predictor.py │ ├── sam2_video_predictor.py │ ├── sam2_video_predictor_legacy.py │ └── utils/ │ ├── __init__.py │ ├── amg.py │ ├── misc.py │ └── transforms.py ├── caption/ │ ├── LLM/ │ │ ├── __init__.py │ │ ├── inference.py │ │ ├── prompt1.txt │ │ └── prompt2.txt │ ├── README.md │ ├── VQA/ │ │ ├── __init__.py │ │ ├── inference.py │ │ └── prompt.txt │ ├── __init__.py │ ├── tagging/ │ │ ├── __init__.py │ │ ├── inference.py │ │ └── prompt.txt │ └── utils/ │ ├── __init__.py │ ├── api_call.py │ └── combine.py ├── docker-entrypoint.sh ├── requirements/ │ ├── requirements.txt │ ├── requirements_annotation.txt │ └── requirements_scoring.txt ├── scoring/ │ ├── README.md │ ├── __init__.py │ ├── aesthetic/ │ │ ├── __init__.py │ │ └── inference.py │ ├── luminance/ │ │ ├── __init__.py │ │ └── inference.py │ ├── motion/ │ │ ├── INSTALL.md │ │ ├── __init__.py │ │ └── inference.py │ └── ocr/ │ ├── __init__.py │ └── inference.py ├── scripts/ │ ├── annotation.sh │ ├── caption.sh │ ├── docker_prepulls.sh │ ├── download_checkpoints.sh │ └── scoring.sh ├── utils/ │ ├── README.md │ ├── __init__.py │ ├── convert.py │ ├── cut.py │ ├── cut_fast.py │ ├── download_SpatialVID.py │ ├── download_YouTube.py │ ├── evaluation.py │ ├── expand_npz.py │ ├── extract_frames.py │ ├── filter.py │ ├── get_clip.py │ ├── get_info.py │ ├── get_instructions.py │ ├── get_instructions_enhanced.py │ ├── merge_tables.py │ ├── normalize_intrinsics.py │ ├── pack_clip_assets.py │ ├── quat_to_mat.py │ ├── read_depth.py │ ├── read_video.py │ └── scene_detect.py └── viser/ ├── .clang-format ├── .gitignore ├── .pre-commit-config.yaml ├── .prettierignore ├── LICENSE ├── README.md ├── docs/ │ ├── .gitignore │ ├── Makefile │ ├── source/ │ │ ├── _static/ │ │ │ └── css/ │ │ │ └── custom.css │ │ ├── _templates/ │ │ │ └── sidebar/ │ │ │ └── brand.html │ │ ├── camera_handles.md │ │ ├── client_handles.md │ │ ├── conf.py │ │ ├── conventions.md │ │ ├── development.md │ │ ├── events.md │ │ ├── examples/ │ │ │ ├── 00_coordinate_frames.rst │ │ │ ├── 01_image.rst │ │ │ ├── 02_gui.rst │ │ │ ├── 03_gui_callbacks.rst │ │ │ ├── 04_camera_poses.rst │ │ │ ├── 05_camera_commands.rst │ │ │ ├── 06_mesh.rst │ │ │ ├── 07_record3d_visualizer.rst │ │ │ ├── 08_smpl_visualizer.rst │ │ │ ├── 09_urdf_visualizer.rst │ │ │ ├── 10_realsense.rst │ │ │ ├── 11_colmap_visualizer.rst │ │ │ ├── 12_click_meshes.rst │ │ │ ├── 13_theming.rst │ │ │ ├── 14_markdown.rst │ │ │ ├── 15_gui_in_scene.rst │ │ │ ├── 16_modal.rst │ │ │ ├── 17_background_composite.rst │ │ │ ├── 18_splines.rst │ │ │ ├── 19_get_renders.rst │ │ │ ├── 20_scene_pointer.rst │ │ │ ├── 21_set_up_direction.rst │ │ │ ├── 22_games.rst │ │ │ ├── 23_plotly.rst │ │ │ ├── 24_notification.rst │ │ │ └── 25_smpl_visualizer_skinned.rst │ │ ├── extras.md │ │ ├── gui_api.md │ │ ├── gui_handles.md │ │ ├── icons.md │ │ ├── index.md │ │ ├── infrastructure.md │ │ ├── scene_api.md │ │ ├── scene_handles.md │ │ ├── server.md │ │ └── transforms.md │ └── update_example_docs.py ├── examples/ │ ├── 00_coordinate_frames.py │ ├── 01_image.py │ ├── 02_gui.py │ ├── 03_gui_callbacks.py │ ├── 04_camera_poses.py │ ├── 05_camera_commands.py │ ├── 06_mesh.py │ ├── 07_record3d_visualizer.py │ ├── 08_smpl_visualizer.py │ ├── 09_urdf_visualizer.py │ ├── 10_realsense.py │ ├── 11_colmap_visualizer.py │ ├── 12_click_meshes.py │ ├── 13_theming.py │ ├── 14_markdown.py │ ├── 15_gui_in_scene.py │ ├── 16_modal.py │ ├── 17_background_composite.py │ ├── 18_splines.py │ ├── 19_get_renders.py │ ├── 20_scene_pointer.py │ ├── 21_set_up_direction.py │ ├── 22_games.py │ ├── 23_plotly.py │ ├── 24_notification.py │ ├── 25_smpl_visualizer_skinned.py │ ├── assets/ │ │ ├── .gitignore │ │ ├── download_colmap_garden.sh │ │ ├── download_dragon_mesh.sh │ │ ├── download_record3d_dance.sh │ │ └── mdx_example.mdx │ ├── experimental/ │ │ └── gaussian_splats.py │ └── quick_save.py ├── pyproject.toml ├── src/ │ └── viser/ │ ├── __init__.py │ ├── _client_autobuild.py │ ├── _gui_api.py │ ├── _gui_handles.py │ ├── _icons.py │ ├── _icons_enum.py │ ├── _icons_enum.pyi │ ├── _icons_generate_enum.py │ ├── _messages.py │ ├── _notification_handle.py │ ├── _scene_api.py │ ├── _scene_handles.py │ ├── _tunnel.py │ ├── _viser.py │ ├── client/ │ │ ├── .eslintrc.js │ │ ├── .gitignore │ │ ├── index.html │ │ ├── package.json │ │ ├── postcss.config.cjs │ │ ├── public/ │ │ │ ├── hdri/ │ │ │ │ └── potsdamer_platz_1k.hdr │ │ │ └── manifest.json │ │ ├── src/ │ │ │ ├── App.css.ts │ │ │ ├── App.tsx │ │ │ ├── AppTheme.ts │ │ │ ├── BrowserWarning.tsx │ │ │ ├── CameraControls.tsx │ │ │ ├── ClickUtils.tsx │ │ │ ├── ControlPanel/ │ │ │ │ ├── BottomPanel.tsx │ │ │ │ ├── ControlPanel.tsx │ │ │ │ ├── FloatingPanel.tsx │ │ │ │ ├── Generated.tsx │ │ │ │ ├── GuiComponentContext.tsx │ │ │ │ ├── GuiState.tsx │ │ │ │ ├── SceneTreeTable.css.ts │ │ │ │ ├── SceneTreeTable.tsx │ │ │ │ ├── ServerControls.tsx │ │ │ │ └── SidebarPanel.tsx │ │ │ ├── FilePlayback.tsx │ │ │ ├── Markdown.tsx │ │ │ ├── MessageHandler.tsx │ │ │ ├── Modal.tsx │ │ │ ├── Outlines.tsx │ │ │ ├── SceneTree.tsx │ │ │ ├── SceneTreeState.tsx │ │ │ ├── SearchParamsUtils.tsx │ │ │ ├── Splatting/ │ │ │ │ ├── GaussianSplats.tsx │ │ │ │ ├── SplatSortWorker.ts │ │ │ │ └── WasmSorter/ │ │ │ │ ├── Sorter.mjs │ │ │ │ ├── Sorter.wasm │ │ │ │ ├── build.sh │ │ │ │ └── sorter.cpp │ │ │ ├── ThreeAssets.tsx │ │ │ ├── Titlebar.tsx │ │ │ ├── Utils.ts │ │ │ ├── WebsocketFunctions.tsx │ │ │ ├── WebsocketInterface.tsx │ │ │ ├── WebsocketMessages.tsx │ │ │ ├── WebsocketServerWorker.ts │ │ │ ├── WorldTransformUtils.ts │ │ │ ├── components/ │ │ │ │ ├── Button.tsx │ │ │ │ ├── ButtonGroup.tsx │ │ │ │ ├── Checkbox.tsx │ │ │ │ ├── ComponentStyles.css.ts │ │ │ │ ├── Dropdown.tsx │ │ │ │ ├── Folder.css.ts │ │ │ │ ├── Folder.tsx │ │ │ │ ├── Markdown.tsx │ │ │ │ ├── MultiSlider.tsx │ │ │ │ ├── MultiSliderPrimitive/ │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Marks/ │ │ │ │ │ │ └── Marks.tsx │ │ │ │ │ ├── MultiSlider/ │ │ │ │ │ │ └── MultiSlider.tsx │ │ │ │ │ ├── Slider.context.ts │ │ │ │ │ ├── Slider.module.css │ │ │ │ │ ├── SliderRoot/ │ │ │ │ │ │ └── SliderRoot.tsx │ │ │ │ │ ├── Thumb/ │ │ │ │ │ │ └── Thumb.tsx │ │ │ │ │ ├── Track/ │ │ │ │ │ │ └── Track.tsx │ │ │ │ │ ├── index.ts │ │ │ │ │ └── utils/ │ │ │ │ │ ├── get-change-value/ │ │ │ │ │ │ └── get-change-value.ts │ │ │ │ │ ├── get-client-position/ │ │ │ │ │ │ └── get-client-position.ts │ │ │ │ │ ├── get-floating-value/ │ │ │ │ │ │ └── get-gloating-value.ts │ │ │ │ │ ├── get-position/ │ │ │ │ │ │ └── get-position.ts │ │ │ │ │ └── get-precision/ │ │ │ │ │ └── get-precision.ts │ │ │ │ ├── NumberInput.tsx │ │ │ │ ├── PlotlyComponent.tsx │ │ │ │ ├── ProgressBar.tsx │ │ │ │ ├── Rgb.tsx │ │ │ │ ├── Rgba.tsx │ │ │ │ ├── Slider.tsx │ │ │ │ ├── TabGroup.tsx │ │ │ │ ├── TextInput.tsx │ │ │ │ ├── UploadButton.tsx │ │ │ │ ├── Vector2.tsx │ │ │ │ ├── Vector3.tsx │ │ │ │ ├── common.tsx │ │ │ │ └── utils.tsx │ │ │ ├── index.css │ │ │ ├── index.tsx │ │ │ └── react-app-env.d.ts │ │ ├── tsconfig.json │ │ ├── vite-env.d.ts │ │ └── vite.config.mts │ ├── extras/ │ │ ├── __init__.py │ │ ├── _record3d.py │ │ ├── _record3d_customized.py │ │ ├── _record3d_customized_megasam.py │ │ ├── _urdf.py │ │ └── colmap/ │ │ ├── __init__.py │ │ └── _colmap_utils.py │ ├── infra/ │ │ ├── __init__.py │ │ ├── _async_message_buffer.py │ │ ├── _infra.py │ │ ├── _messages.py │ │ └── _typescript_interface_gen.py │ ├── py.typed │ ├── scripts/ │ │ ├── __init__.py │ │ └── dev_checks.py │ ├── theme/ │ │ ├── __init__.py │ │ └── _titlebar.py │ └── transforms/ │ ├── __init__.py │ ├── _base.py │ ├── _se2.py │ ├── _se3.py │ ├── _so2.py │ ├── _so3.py │ ├── hints/ │ │ └── __init__.py │ └── utils/ │ ├── __init__.py │ └── _utils.py ├── sync_message_defs.py ├── visualize_megasam.py └── visualize_pose.py