• NielsRogge's avatar
    Add DINOv2 depth estimation (#26092) · 2422c38d
    NielsRogge authored
    
    
    * First draft
    
    * Fix style
    
    * More improvements
    
    * Fix tests
    
    * Fix tests
    
    * Convert checkpoint
    
    * Improve DPTImageProcessor
    
    * Remove scripts, improve conversion script
    
    * Remove print statements
    
    * Fix test
    
    * Improve docstring
    
    * More improvements
    
    * Fix style
    
    * Fix image processor
    
    * Add tests
    
    * Address comments
    
    * Address comments
    
    * Make bias backwards compatible
    
    * Address comment
    
    * Address comment
    
    * Address comment
    
    * Apply suggestions from code review
    Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
    
    * Address comments
    
    * Add flag
    
    * Add tests
    
    * Make tests smaller
    
    * Use regular BackboneOutput
    
    * Fix all tests
    
    * Update test
    
    * Convert more checkpoints
    
    * Convert giant checkpoints, add integration test
    
    * Rename size_divisibility to size_divisor
    
    ---------
    Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
    2422c38d
test_image_processing_dpt.py 4.69 KB