Commit ·
1523151
1
Parent(s): fd197d1
update
Browse files8 unmodified lines910111213141516171819208 unmodified lines# download modelprint("Downloading model weights")os.system('wget https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/external/metric_depth_vit_large_800k.pth -P ./thirdparty/Metric3D/weights/')os.system('wget https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/external/droid.pth -P ./weights/external/')os.system('wget https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/external/detector.pt -P ./weights/external/')os.system('wget https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/hawor.ckpt -P ./weights/hawor/checkpoints/')os.system('wget https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/infiller.pt -P ./weights/hawor/checkpoints/')os.system('wget https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/model_config.yaml -P ./weights/hawor/')def install_cuda_toolkit():8 unmodified lines910111213141516171819208 unmodified lines# download modelprint("Downloading model weights")os.system('wget -q https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/external/metric_depth_vit_large_800k.pth -P ./thirdparty/Metric3D/weights/')os.system('wget -q https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/external/droid.pth -P ./weights/external/')os.system('wget -q https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/external/detector.pt -P ./weights/external/')os.system('wget -q https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/hawor.ckpt -P ./weights/hawor/checkpoints/')os.system('wget -q https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/checkpoints/infiller.pt -P ./weights/hawor/checkpoints/')os.system('wget -q https://huggingface.co/ThunderVVV/HaWoR/resolve/main/hawor/model_config.yaml -P ./weights/hawor/')def install_cuda_toolkit():
app.py+6-6