Skip to content

Commit

Permalink
cout
Browse files Browse the repository at this point in the history
  • Loading branch information
gutenye committed May 20, 2024
1 parent 386cc70 commit ef0a1b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-native/cpp/classifier_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ ClassifierResult ClassifierPredictor::predict(const cv::Mat &source_image, const
std::vector<int64_t> input_shape {1, image.channels, image.height, image.width};
timer.start();
// TODO: hangs on run
std::cout << "[DEBUG] classifier run start" << std::endl;
auto model_output = m_onnx.run(image.data, input_shape);
std::cout << "[DEBUG] classifier run end" << std::endl;
timer.end();
performance.predict_time = timer.get_average_ms();

Expand Down

0 comments on commit ef0a1b6

Please sign in to comment.