Sanchez

Results 3 comments of Sanchez

> That's quite good. But, no. I just downloaded fresh copies of the models I used to see if it could possibly be something in the way I converted them...

> Is your model successfully loaded to GPU in this [line](https://github.com/LiheYoung/Depth-Anything/blob/207f1b0b6274173b03811bdc03b08323ebb357ae/app.py#L27)? Is the `DEVICE` outputs `cuda`? Yes, I downloaded model and config file, and models loaded locally with this command:...

I found the problem, for local model this code work: `depth_anything = DepthAnything.from_pretrained('checkpoints/depth_anything_vitb14', local_files_only=True).to(DEVICE).eval()` Please update manual, for local models ".to(DEVICE).eval()" parameter at the end of command needed