Specify ref for forked torch.hub repos.

This commit is contained in:
Ean Garvey
2023-10-19 10:49:28 -05:00
parent 0b3c4c029d
commit 791553762b

View File

@@ -25,13 +25,13 @@ class ZoeDetector:
f.write(chunk)
midas = torch.hub.load(
"gpetters94/MiDaS",
"gpetters94/MiDaS:master",
"DPT_BEiT_L_384",
pretrained=False,
force_reload=False,
)
model = torch.hub.load(
"AyaanShah2204/ZoeDepth",
"monorimet/ZoeDepth:torch_update",
"ZoeD_N",
pretrained=False,
force_reload=False,