mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
Upate OpenVINO to PyTorch 2.6 and fix mismatched shapes error on too many resolution changes
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ def load_model(device, model_path, model_type="dpt_large_384", optimize=True, he
|
||||
network input
|
||||
"""
|
||||
if "openvino" in model_type:
|
||||
from openvino.runtime import Core
|
||||
from openvino import Core
|
||||
|
||||
keep_aspect_ratio = not square
|
||||
|
||||
|
||||
Reference in New Issue
Block a user