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_w6.csv from m1sc/reach-down-vit-release: direct link, hf CLI and curl.
- Browser
- Download file 4.23 kB
-
https://huggingface.co/m1sc/reach-down-vit-release/resolve/main/runs/eval_release_w6.csv
- Command line
-
hf download hf://m1sc/reach-down-vit-release/runs/eval_release_w6.csv
-
curl -L -o eval_release_w6.csv https://huggingface.co/m1sc/reach-down-vit-release/resolve/main/runs/eval_release_w6.csv
4.23 kB
| episode,vit_safe,base_safe,vit_regret,base_regret,false_safe | |
| 0,1.0,1.0,0.0001544356346130371,3.55839729309082e-05,0.027894535727932747 | |
| 1,1.0,1.0,0.04617244005203247,0.04183769226074219,0.026407496321536435 | |
| 2,1.0,1.0,0.018285930156707764,0.022256314754486084,0.0067407673001075655 | |
| 3,1.0,1.0,0.0,0.0,0.041251332204877436 | |
| 4,1.0,1.0,0.050028443336486816,0.050028443336486816,0.35318510045041823 | |
| 5,1.0,1.0,0.0037363171577453613,0.0,0.03867666309651315 | |
| 6,1.0,1.0,0.02663397789001465,0.004246950149536133,0.20066168009205984 | |
| 7,1.0,1.0,0.00699537992477417,0.013830244541168213,0.06336088154269973 | |
| 8,1.0,1.0,0.0005670785903930664,0.0,0.014690673808703031 | |
| 9,1.0,1.0,0.07050830125808716,0.0015387535095214844,0.7926470588235294 | |
| 10,1.0,1.0,0.0,0.016097724437713623,0.30922202797202797 | |
| 11,1.0,1.0,0.012166321277618408,7.748603820800781e-06,0.03492901118230934 | |
| 12,1.0,1.0,3.874301910400391e-06,2.682209014892578e-06,0.052403637938501516 | |
| 13,1.0,1.0,0.0,0.00042313337326049805,0.10823363414562451 | |
| 14,1.0,1.0,1.0013580322265625e-05,0.0,0.04681601838174955 | |
| 15,1.0,1.0,0.00018930435180664062,0.0001175999641418457,0.022407370546250745 | |
| 16,1.0,1.0,6.985664367675781e-05,0.00010222196578979492,0.04441011778335586 | |
| 17,1.0,1.0,0.000645756721496582,0.0,0.028163714252634017 | |
| 18,1.0,1.0,0.024435818195343018,0.09880369901657104,0.30824175824175826 | |
| 19,1.0,1.0,0.02643638849258423,0.02291053533554077,0.09845360824742268 | |
| 20,1.0,1.0,0.00011169910430908203,4.07099723815918e-05,0.05290490100616683 | |
| 21,1.0,1.0,0.12060356140136719,0.06245887279510498,0.2835412649061356 | |
| 22,1.0,1.0,0.00043022632598876953,0.00033867359161376953,0.1207464324917673 | |
| 23,1.0,1.0,0.014011740684509277,0.0005944371223449707,0.01936325390847464 | |
| 24,1.0,1.0,0.012429952621459961,0.01362907886505127,0.0209532949456174 | |
| 25,1.0,1.0,0.12832319736480713,0.013579607009887695,0.14740053493814778 | |
| 26,1.0,1.0,0.11118966341018677,0.02620828151702881,0.622211080471296 | |
| 27,1.0,1.0,0.0861559510231018,0.06492447853088379,0.051789473684210524 | |
| 28,1.0,1.0,0.12895965576171875,0.150884747505188,0.18101795363430365 | |
| 29,1.0,1.0,0.0023757219314575195,0.0,0.016390641242897627 | |
| 30,1.0,1.0,1.0132789611816406e-06,1.0728836059570312e-06,0.021243206001684146 | |
| 31,1.0,1.0,0.000825345516204834,0.0020160675048828125,0.04470618858593089 | |
| 32,1.0,1.0,0.10739856958389282,4.696846008300781e-05,0.06898109311479642 | |
| 33,1.0,1.0,0.10216015577316284,0.059486567974090576,0.058276905345051144 | |
| 34,1.0,1.0,0.0010737776756286621,0.00018918514251708984,0.05915775401069519 | |
| 35,1.0,1.0,0.17807608842849731,0.01787865161895752,0.6110243249274715 | |
| 36,1.0,1.0,0.0,0.00013709068298339844,0.04068522483940043 | |
| 37,1.0,1.0,0.06013613939285278,0.04404771327972412,0.02984279243272049 | |
| 38,1.0,1.0,0.13813817501068115,0.13701266050338745,0.7729845793480382 | |
| 39,1.0,1.0,0.1728726625442505,0.12828826904296875,0.17932405566600398 | |
| 40,1.0,1.0,0.10725283622741699,0.0008254051208496094,0.03752361703062525 | |
| 41,1.0,1.0,0.024347245693206787,0.016513347625732422,0.03420028670899038 | |
| 42,1.0,1.0,0.0,0.001368403434753418,0.022137098570219588 | |
| 43,1.0,1.0,0.0472714900970459,0.007275640964508057,0.02915613147914033 | |
| 44,1.0,1.0,8.279085159301758e-05,0.0,0.05063613231552163 | |
| 45,1.0,1.0,0.12673288583755493,0.015031039714813232,0.06414342629482071 | |
| 46,1.0,1.0,0.0,0.0,0.03382180539273154 | |
| 47,1.0,1.0,0.05662471055984497,0.03969627618789673,0.031002236226875382 | |
| 48,1.0,1.0,0.15864092111587524,0.08662599325180054,0.22021256759276525 | |
| 49,1.0,1.0,0.06713122129440308,0.049614131450653076,0.2773109243697479 | |
| 50,1.0,1.0,0.1111711859703064,0.0021086931228637695,0.11422413793103449 | |
| 51,1.0,1.0,1.0013580322265625e-05,3.7550926208496094e-06,0.023482368622223963 | |
| 52,1.0,1.0,0.0007392168045043945,7.128715515136719e-05,0.5145660530042484 | |
| 53,1.0,1.0,0.0,0.0,0.18238307801562342 | |
| 54,1.0,1.0,0.05708831548690796,1.0132789611816406e-06,0.036715691461221035 | |
| 55,1.0,1.0,0.10407209396362305,0.03606957197189331,0.054815016322089224 | |
| 56,1.0,1.0,8.940696716308594e-07,5.364418029785156e-07,0.011183189397858877 | |
| 57,1.0,1.0,0.014039933681488037,0.014039933681488037,0.21388915944287523 | |
| 58,1.0,1.0,0.18052446842193604,0.0026419758796691895,0.475384057094472 | |
| 59,1.0,1.0,0.04235178232192993,0.11233747005462646,0.4399835289273214 | |