I am running demo.py. The original script runs fine. Substituting the intrinsics from loading from .npy file to an manual input results in runtime error. Could not figure out why. Any help is appreciated!
Specifically, the intrinsics_torch = torch.from_numpy(np.load("assets/demo/intrinsics.npy")) is replaced by
Figured it out. Contrary to the error message, the intrinsics should be type float32 instead of float64. Simply add np.array(..)..astype(np.float32) fixed it.
I am running
demo.py
. The original script runs fine. Substituting the intrinsics from loading from .npy file to an manual input results in runtime error. Could not figure out why. Any help is appreciated!Specifically, the
intrinsics_torch = torch.from_numpy(np.load("assets/demo/intrinsics.npy"))
is replaced byLogs and Errors
Environment
Used a conda environment following steps in
README