was-node-suite-comfyui
was-node-suite-comfyui copied to clipboard
[request] can torch.hub.load("intel-isl/MiDaS", midas_model, trust_repo=True) load from local?
load midas model from ComfyUI/models/midas/checkpoints/dpt_hybrid_384.pt and use loca ComfyUI/models/midas/intel-isl_MiDaS_master my env show some errors when connect to torch.hub,
midas = torch.hub.load("intel-isl/MiDaS", midas_model, trust_repo=True)
midas_transforms = torch.hub.load("intel-isl/MiDaS", "transforms")
and the github repo intel-isl/MiDaS can't be reached correctly, can I load the "intel-isl/MiDaS", "transforms" from local file path as dpt_hybrid_384.pt did? thanks a lot