Instructions to use m1sc/reach-down-vit-release with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- DepthAnythingV2
How to use m1sc/reach-down-vit-release with DepthAnythingV2:
# Install from https://github.com/DepthAnything/Depth-Anything-V2 # Load the model and infer depth from an image import cv2 import torch from huggingface_hub import hf_hub_download from depth_anything_v2.dpt import DepthAnythingV2 # instantiate the model model = DepthAnythingV2(encoder="<ENCODER>", features=<NUMBER_OF_FEATURES>, out_channels=<OUT_CHANNELS>) # load the weights filepath = hf_hub_download(repo_id="m1sc/reach-down-vit-release", filename="depth_anything_v2_<ENCODER>.pth", repo_type="model") state_dict = torch.load(filepath, map_location="cpu") model.load_state_dict(state_dict) model.eval() raw_img = cv2.imread("your/image/path") depth = model.infer_image(raw_img) # HxW raw depth map in numpy - Notebooks
- Google Colab
- Kaggle
Download runs/eval_release_w0.csv from m1sc/reach-down-vit-release: direct link, hf CLI and curl.
- Browser
- Download file 4.03 kB
-
https://huggingface.co/m1sc/reach-down-vit-release/resolve/main/runs/eval_release_w0.csv
- Command line
-
hf download hf://m1sc/reach-down-vit-release/runs/eval_release_w0.csv
-
curl -L -o eval_release_w0.csv https://huggingface.co/m1sc/reach-down-vit-release/resolve/main/runs/eval_release_w0.csv
4.03 kB
| episode,vit_safe,base_safe,vit_regret,base_regret,false_safe | |
| 0,1.0,1.0,0.0,0.0,0.024476970148019514 | |
| 1,1.0,1.0,0.04624807834625244,0.04191333055496216,0.025274836875111076 | |
| 2,1.0,1.0,3.4868717193603516e-05,3.4868717193603516e-05,0.006604164508442971 | |
| 3,1.0,1.0,0.0,0.0,0.021246860186216927 | |
| 4,1.0,1.0,0.10446304082870483,0.050064265727996826,0.3527978114896792 | |
| 5,1.0,1.0,0.0037363171577453613,0.0,0.018664401741161483 | |
| 6,1.0,1.0,0.03236490488052368,0.00339508056640625,0.21063116305322221 | |
| 7,1.0,1.0,0.015871107578277588,0.033017754554748535,0.051328068916008614 | |
| 8,1.0,1.0,0.0005670785903930664,0.0,0.018184564835621354 | |
| 9,1.0,1.0,0.07050830125808716,0.0015388131141662598,0.7726771132200397 | |
| 10,1.0,1.0,1.3530254364013672e-05,1.3530254364013672e-05,0.2967982714594382 | |
| 11,1.0,1.0,0.03607815504074097,7.748603820800781e-06,0.027943574827244144 | |
| 12,1.0,1.0,9.948015213012695e-05,9.948015213012695e-05,0.03137860082304527 | |
| 13,1.0,1.0,0.0,0.00042313337326049805,0.09712445275886675 | |
| 14,1.0,1.0,0.0,0.0,0.03314235530277685 | |
| 15,1.0,1.0,1.1920928955078125e-07,1.1920928955078125e-07,0.0221649875009469 | |
| 16,1.0,1.0,0.0,8.64267349243164e-06,0.028373096104596308 | |
| 17,1.0,1.0,0.0006286501884460449,0.0,0.022896731701255127 | |
| 18,1.0,1.0,0.07321250438690186,0.10116809606552124,0.21147104192960314 | |
| 19,1.0,1.0,0.04298120737075806,0.038778841495513916,0.05540479421076436 | |
| 20,1.0,1.0,1.1861324310302734e-05,2.205371856689453e-06,0.033041315163313864 | |
| 21,1.0,1.0,0.045771777629852295,0.02199578285217285,0.2826141039135011 | |
| 22,1.0,1.0,2.0563602447509766e-05,1.823902130126953e-05,0.03679491968621591 | |
| 23,1.0,1.0,0.021139442920684814,0.001767873764038086,0.01950858667904386 | |
| 24,1.0,1.0,0.05075293779373169,0.013631045818328857,0.015100013073604392 | |
| 25,1.0,1.0,0.07441312074661255,0.015871167182922363,0.13544474393530997 | |
| 26,1.0,1.0,0.12179827690124512,0.0,0.5974150311153662 | |
| 27,1.0,1.0,0.024022996425628662,0.0,0.01615625155109942 | |
| 28,1.0,1.0,0.1013762354850769,0.015026569366455078,0.17260486507452763 | |
| 29,1.0,1.0,0.007305443286895752,3.6597251892089844e-05,0.016850458621045037 | |
| 30,1.0,1.0,0.0,0.0,0.016175681511824212 | |
| 31,1.0,1.0,0.003034055233001709,5.245208740234375e-06,0.028054185876782312 | |
| 32,1.0,1.0,2.5987625122070312e-05,6.67572021484375e-06,0.05264146807377947 | |
| 33,1.0,1.0,0.12129157781600952,0.0068795084953308105,0.05193354061406918 | |
| 34,1.0,1.0,0.00016236305236816406,0.0002599954605102539,0.023091917828759936 | |
| 35,1.0,1.0,0.20575231313705444,0.017247319221496582,0.5589853710911287 | |
| 36,1.0,1.0,0.0,0.0,0.02175784941720046 | |
| 37,1.0,1.0,0.06072741746902466,0.01790308952331543,0.019325253848673438 | |
| 38,1.0,1.0,0.1381397843360901,0.13701611757278442,0.724408077994429 | |
| 39,1.0,1.0,0.07749718427658081,0.0007589459419250488,0.1535167710728729 | |
| 40,1.0,1.0,0.1200971007347107,0.0008254051208496094,0.03718064608211618 | |
| 41,1.0,1.0,0.036140382289886475,0.024723708629608154,0.016740137269125606 | |
| 42,1.0,1.0,0.002325117588043213,0.001368403434753418,0.020787746170678335 | |
| 43,1.0,1.0,0.013667166233062744,0.007342159748077393,0.01580669519254971 | |
| 44,1.0,1.0,1.9848346710205078e-05,0.0,0.02551521099116781 | |
| 45,1.0,1.0,1.1742115020751953e-05,4.112720489501953e-06,0.04920344737529381 | |
| 46,1.0,1.0,0.0,0.0,0.032773313854394935 | |
| 47,1.0,1.0,1.436471939086914e-05,1.436471939086914e-05,0.03152927942003625 | |
| 48,1.0,1.0,0.15882205963134766,0.08680695295333862,0.2361054008596524 | |
| 49,1.0,1.0,0.06713175773620605,0.049614548683166504,0.2548708265384946 | |
| 50,1.0,1.0,0.12402462959289551,0.014787435531616211,0.04436924233878549 | |
| 51,1.0,1.0,0.004730701446533203,7.748603820800781e-07,0.02107301353987054 | |
| 52,1.0,1.0,1.8477439880371094e-06,7.128715515136719e-05,0.525202032825127 | |
| 53,1.0,1.0,0.0,0.0,0.17102278863808187 | |
| 54,1.0,1.0,0.0,0.0,0.024303424573462625 | |
| 55,1.0,1.0,0.0,0.0,0.030526478626308463 | |
| 56,1.0,1.0,0.0,0.0,0.012671149639471765 | |
| 57,1.0,1.0,0.014034509658813477,0.00763314962387085,0.19351714341060244 | |
| 58,1.0,1.0,0.0,0.00023055076599121094,0.476195652173913 | |
| 59,1.0,1.0,0.001778244972229004,0.0035941600799560547,0.40761614623000764 | |