Alessio Grancini
commited on
Update monocular_depth_estimator.py
Browse files
monocular_depth_estimator.py
CHANGED
|
@@ -36,7 +36,7 @@ class MonocularDepthEstimator:
|
|
| 36 |
|
| 37 |
# MiDaS 2.1:
|
| 38 |
# Legacy convolutional models midas_v21_384 and midas_v21_small_256
|
| 39 |
-
|
| 40 |
# params
|
| 41 |
print("Initializing parameters and model...")
|
| 42 |
self.is_optimize = optimize
|
|
|
|
| 36 |
|
| 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
|