zhyever / PatchFusion

[CVPR 2024] An End-to-End Tile-Based Framework for High-Resolution Monocular Metric Depth Estimation
https://zhyever.github.io/patchfusion/
MIT License
926 stars 62 forks source link

How to run on 6GB vram without out of memory ? #19

Closed Michaelwhite34 closed 4 months ago

zhyever commented 6 months ago

The current patch process size is 384x512 default in zoedepth. It would be helpful if you use a smaller size

Michaelwhite34 commented 6 months ago

The current patch process size is 384x512 default in zoedepth. It would be helpful if you use a smaller size

Where to edit the size tho?

Michaelwhite34 commented 6 months ago

The current patch process size is 384x512 default in zoedepth. It would be helpful if you use a smaller size

Just ran this on Runpod, why is 16bit-raw depth nearly black while the normal depth looks fine ? NVM, it seems I need to multiply by a big number.