vulus98 commited on
Commit
b3d2d2b
·
1 Parent(s): 9301c6d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ depth_checkpoint_config_path = hf_hub_download(
130
  depth_config = OmegaConf.load(depth_checkpoint_config_path)
131
  checkpoint_config["depth"] = {"path": depth_checkpoint_path, "mode": "trained", "config": depth_config.model}
132
 
133
- LOG_SCALE = depth_config.log_scale
134
  MIN_DEPTH = np.log(1e-2) if LOG_SCALE else 1e-2
135
  DEPTH_RANGE = np.log(75.0)-MIN_DEPTH if LOG_SCALE else 75.0 - MIN_DEPTH
136
 
 
130
  depth_config = OmegaConf.load(depth_checkpoint_config_path)
131
  checkpoint_config["depth"] = {"path": depth_checkpoint_path, "mode": "trained", "config": depth_config.model}
132
 
133
+ LOG_SCALE = depth_config.model.log_scale
134
  MIN_DEPTH = np.log(1e-2) if LOG_SCALE else 1e-2
135
  DEPTH_RANGE = np.log(75.0)-MIN_DEPTH if LOG_SCALE else 75.0 - MIN_DEPTH
136