apple / ml-depth-pro

Depth Pro: Sharp Monocular Metric Depth in Less Than a Second.
Other
3.76k stars 253 forks source link

Add configurable precision and device options for model inference #58

Closed jatin9823 closed 1 month ago

jatin9823 commented 1 month ago

This clarifies that users can now select the model precision (float32 or float16) and target device (CPU, CUDA, MPS) as arguments. Support batch processing for directories of images

This indicates the script now accepts folders, allowing multiple images to be processed in one run. Add error handling and warnings for robustness

This describes improved error handling around potential issues in the image processing pipeline. Add option to save depth maps in multiple formats

This notes that users can now save output depth maps in .png, .npz, or .tiff. Enhance visualization with customizable colormap and dynamic range

This explains the added flexibility for users to choose color maps for depth visualization. Implement basic unit tests for key functions

This communicates that unit tests for main functions were added, supporting code reliability. Add usage examples in command line help

This indicates additional examples for ease of use directly in the command-line help description. Add file logging option for debugging support

This highlights that logs can now be saved to a specified file, improving debugging.