Skip to content

Commit

Permalink
midas remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaphlagical committed May 14, 2024
1 parent fccd58c commit 27a4b28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scene/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ def __init__(self, args: ModelParams, gaussians: GaussianModel, load_iteration=N

self.cameras_extent = scene_info.nerf_normalization["radius"]

midas = torch.hub.load(
"/home/cwb/.cache/torch/hub/intel-isl_MiDaS_master", "DPT_Hybrid", source="local")
# midas = torch.hub.load(
# "/home/cwb/.cache/torch/hub/intel-isl_MiDaS_master", "DPT_Hybrid", source="local")
midas = torch.hub.load("intel-isl/MiDaS", "DPT_Hybrid")
midas.cuda()
midas.eval()
for param in midas.parameters():
Expand Down

0 comments on commit 27a4b28

Please sign in to comment.