Download reconstruction/modules/Fast-SAM3D/patching/hydra from hk239/v2d: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/datasets/hk239/v2d/resolve/main/reconstruction/modules/Fast-SAM3D/patching/hydra
- Command line
-
hf download hf://datasets/hk239/v2d/reconstruction/modules/Fast-SAM3D/patching/hydra
-
curl -L -o hydra https://huggingface.co/datasets/hk239/v2d/resolve/main/reconstruction/modules/Fast-SAM3D/patching/hydra
447 Bytes
| import os | |
| import hydra | |
| import urllib.request | |
| if hydra.__version__ != "1.3.2": | |
| raise RuntimeError("different hydra version has been found, cannot patch") | |
| hydra_root = os.path.dirname(hydra.__file__) | |
| utils_path = os.path.join(hydra_root, "core", "utils.py") | |
| urllib.request.urlretrieve( | |
| "https://raw.githubusercontent.com/gleize/hydra/78f00766b5f37672aa7232ebbf01bdd74246bd60/hydra/core/utils.py", | |
| utils_path, | |
| ) | |