Skip to content

Commit eadd368

Browse files
committed
Fix some garbled output in err msg
1 parent 1479df6 commit eadd368

File tree

1 file changed

+1
-0
lines changed
  • c_cxx/QNN_EP/mobilenetv2_classification

1 file changed

+1
-0
lines changed

c_cxx/QNN_EP/mobilenetv2_classification/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ int main(int argc, char* argv[]) {
253253
std::string model_path(argv[2]);
254254
std::string input_path(argv[3]);
255255

256+
std::locale::global(std::locale("en_US.UTF-8"));
256257
try {
257258
run_ort_qnn_ep(backend, model_path, input_path, generate_ctx, float32_model);
258259
} catch (const std::exception& e) {

0 commit comments

Comments
 (0)