Alessio Grancini commited on
Commit
72c0c54
·
verified ·
1 Parent(s): 5e2619f

Update monocular_depth_estimator.py

Browse files
Files changed (1) hide show
  1. monocular_depth_estimator.py +1 -0
monocular_depth_estimator.py CHANGED
@@ -37,6 +37,7 @@ class MonocularDepthEstimator:
37
  # MiDaS 2.1:
38
  # Legacy convolutional models midas_v21_384 and midas_v21_small_256
39
  self.fx_depth = 500
 
40
  # params
41
  print("Initializing parameters and model...")
42
  self.is_optimize = optimize
 
37
  # MiDaS 2.1:
38
  # Legacy convolutional models midas_v21_384 and midas_v21_small_256
39
  self.fx_depth = 500
40
+ self.fy_depth = 500 # Add this to match `fx_depth`
41
  # params
42
  print("Initializing parameters and model...")
43
  self.is_optimize = optimize