MiDaS icon indicating copy to clipboard operation
MiDaS copied to clipboard

Code for robust monocular depth estimation described in "Ranftl et. al., Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer, TPAMI 2022"

Results 160 MiDaS issues
Sort by recently updated
recently updated
newest added

I have converted the MiDaS 2.1 [ONNX model](https://github.com/isl-org/MiDaS/releases/download/v2_1/model-small.onnx) into TFLite float32 and float16 using [ONNX2TF](https://github.com/PINTO0309/onnx2tf). I tried the float32 and float16 models with GPU(Metal Delegate) and NPU(Core ML Delegate) on...

Original: ![image](https://github.com/isl-org/MiDaS/assets/40011470/b85ad689-f9c6-462a-9fad-279f2e9dc214) Output: ![image](https://github.com/isl-org/MiDaS/assets/40011470/f7de3770-73c5-4738-b2a9-4e30073ab7f7) This is currently an image that I took of a port hole in converted to ply, using the .pfm, and also normalized it before converting, viewed...

RuntimeError: Error(s) in loading state_dict for DPTDepthModel: Missing key(s) in state_dict: "pretrained.model.layers.3.downsample.reduction.weight", "pretrained.model.layers.3.downsample.norm.weight", "pretrained.model.layers.3.downsample.norm.bias", "pretrained.model.head.fc.weight", "pretrained.model.head.fc.bias". Unexpected key(s) in state_dict: "pretrained.model.layers.0.downsample.reduction.weight", "pretrained.model.layers.0.downsample.norm.weight", "pretrained.model.layers.0.downsample.norm.bias", "pretrained.model.layers.0.blocks.1.attn_mask", "pretrained.model.layers.1.blocks.1.attn_mask", "pretrained.model.head.weight", "pretrained.model.head.bias".

Hi folks! DPT 3.1 (and the older DPT 3.0) models are now available for use in the Transformers library! These include: - DPT with a BEiT backbone: https://huggingface.co/models?search=dpt%20beit. Best performance,...

Hi, I followed these instructions and downloaded the models, but the output looks like gibberish... (I don't have a working cuda card, so I hope it's using cpu?) ``` conda...

I tried with ```python model = DPTDepthModel( path=None, backbone="swin2t16_256", non_negative=True, ) ``` During inference at https://github.com/isl-org/MiDaS/blob/bdc4ed64c095e026dc0a2f17cabb14d58263decb/midas/backbones/utils.py#L72 it gave the error ``` RuntimeError: unflatten: Provided sizes [64, 64] don't multiply up...

Hello everyone, I am new to MiDaS and I am trying to get it to run for the first time. I followed the instructions and added the downloaded weights to...

Can we expect higher resolution MIDAS models (e.g., 1024 lines or higher); if so, approximately when? Also. Do you plan to update tensorflow module to work with new models (version...

Hi, this ran for me fine yesterday, but today gives the following error. Any ideas on how to solve it? I am using timm 0.6.13. Thank you for any help!...

i am trying to run dpt_levit_224 but i am seeing this: AttributeError: 'LevitDistilled' object has no attribute 'blocks' `python3 run.py --model_type dpt_levit_224 --side /usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.16) or chardet (3.0.4)...