MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / 4_test_unidepth.py

File 4_test_unidepth.py

4_test_unidepth.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# change to your own path if Unidepth is installed in other places
2from deps.UniDepth.unidepth.models import UniDepthV1, UniDepthV2, UniDepthV2old
3# Warning: THis must be the first line, otherwise pyceres, pycolmap and XM are also using CUDA
4# and CUDA initialization will give you core dumped error (don't know why)

Callers

nothing calls this directly

Calls 9

load_replica_gtFunction · 0.90
load_replica_cameraFunction · 0.90
quat2rotFunction · 0.90
checklandmarksFunction · 0.90
create_matrixFunction · 0.90
load_matrix_from_binFunction · 0.90
recover_XMFunction · 0.90
visualizeFunction · 0.90
copyMethod · 0.80

Tested by

no test coverage detected