app.py
CHANGED
|
@@ -101,7 +101,7 @@ def generate_monocular_depth_maps(img_list, depth_prior_name):
|
|
| 101 |
|
| 102 |
if depth_prior_name=='Depth Pro':
|
| 103 |
|
| 104 |
-
DEFAULT_MONODEPTH_CONFIG_DICT = depth_pro.DepthProConfig(
|
| 105 |
patch_encoder_preset="dinov2l16_384",
|
| 106 |
image_encoder_preset="dinov2l16_384",
|
| 107 |
checkpoint_uri=f'{HERE_PATH}/third_party/ml-depth-pro/checkpoints/depth_pro.pt',
|
|
|
|
| 101 |
|
| 102 |
if depth_prior_name=='Depth Pro':
|
| 103 |
|
| 104 |
+
DEFAULT_MONODEPTH_CONFIG_DICT = depth_pro.depth_pro.DepthProConfig(
|
| 105 |
patch_encoder_preset="dinov2l16_384",
|
| 106 |
image_encoder_preset="dinov2l16_384",
|
| 107 |
checkpoint_uri=f'{HERE_PATH}/third_party/ml-depth-pro/checkpoints/depth_pro.pt',
|