diff --git a/cvat/apps/auto_annotation/inference_engine.py b/cvat/apps/auto_annotation/inference_engine.py index 94c977fa729..310e78c45be 100644 --- a/cvat/apps/auto_annotation/inference_engine.py +++ b/cvat/apps/auto_annotation/inference_engine.py @@ -37,4 +37,4 @@ def make_plugin(): def make_network(model, weights): - return IENetwork.from_ir(model = model, weights = weights) + return IENetwork(model = model, weights = weights)