Skip to content

Commit

Permalink
remove cout in faiss element
Browse files Browse the repository at this point in the history
Change-Id: I3ab7f4c57d7aed6a656daf740d8e2b675f1ab45f
yizhou-xu committed Jan 10, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3b7183c commit 98e912b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions element/tools/faiss/src/faiss.cc
Original file line number Diff line number Diff line change
@@ -111,9 +111,6 @@ void Faiss::getFaceId(
if (resnetObj != nullptr) {
// float *input_data = new float[query_vecs_num * vec_dims];
float* input_data = resnetObj->feature_vector.get();
for (int i = 0; i < 10; i++) {
std::cout << input_data[i] << " ";
}
// 将 input_data 的值赋给 feature_vector
// bm_handle_t handle=obj->mFrame->mHandle;
{

0 comments on commit 98e912b

Please sign in to comment.