Files
candle/candle-nn/src
Jeroen Vlek 242e006bbb Depth Anything v2 (#2279)
* define structs

* construct ResidualConvUnit

* forward() for ResidualConvUnit

* implement FeatureFusionBlock

* implement Scratch

* implement DPTHead

* add identity module

* implement forward for DTPHead

* add get_intermediate_layers to DinoVisionTransformer

* implement DepthAnythingV2

* some minor tweaks

* fix compile errors

* fix var builder prefixes

* setup initial example

* use fixed patch size of 37 (518 / 14)

* debugged until output

* print min and max values

* add some dynamism to the output location

* scale input image

* extract prep function

* extract output path function

* normalize image with magic mean and std

* add spectral coloring

* squeeze in the right place

* make enterpolation optional

* use bail instead of panic

* omit unnecessary Shape call

* remove empty curly braces

* use bail instead of assert

* use vb and pp

* remove closures

* extract config object

* Apply rustfmt.

* Fix some clippy lints.

* More lints.

* Use the array methods.

---------

Co-authored-by: laurent <laurent.mazare@gmail.com>
2024-06-24 19:12:52 +02:00
..
2024-02-08 16:48:47 +01:00
2023-08-27 18:03:26 +01:00
2024-05-23 17:07:21 +02:00
2024-05-18 15:58:18 +02:00
2024-06-24 19:12:52 +02:00
2023-12-16 18:41:56 -06:00
2024-04-05 08:32:58 +02:00
2023-10-20 16:28:50 +01:00
2024-02-25 20:50:08 +01:00