Skip to content

Commit e4881d7

Browse files
MayureshV1Copilot
authored andcommitted
Update onnxruntime/core/providers/openvino/backend_manager.cc
Co-authored-by: Copilot <[email protected]>
1 parent dc80aa5 commit e4881d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/backend_manager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ BackendManager::BackendManager(SessionContext& session_context,
9797
weight_filename /= sw.external_weight_filename;
9898
std::ifstream weight_file(weight_filename);
9999

100-
ORT_ENFORCE(weight_file, "Initializer file not found: ", weight_filename);
100+
ORT_ENFORCE(weight_file, "Initializer file not found: ", weight_filename.string());
101101
if (!sw.mapped_weights) {
102102
sw.mapped_weights = std::make_unique<SharedContext::SharedWeights::WeightsFile>(weight_filename);
103103
}

0 commit comments

Comments
 (0)