Skip to content

Commit aa7ff79

Browse files
committed
update
1 parent 99f41d1 commit aa7ff79

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ecg_bench/utils/rag_utils.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,6 @@ def search_similar(self, query_features=None, query_signal=None, k=5, mode='sign
307307
query_features = query_features.reshape(1, self.feature_dim)
308308
query_signal = query_signal.reshape(1, -1)
309309
query_combined = np.hstack([query_features*self.feature_weight, query_signal]).reshape(1, -1)
310-
311-
print(f"Query combined shape: {query_combined.shape}")
312-
print(f"Combined index dimension: {self.combined_index.d}")
313-
print(f"Combined index total: {self.combined_index.ntotal}")
314-
print(f"Query combined sample values: {query_combined[0, :5]}")
315310
distances, indices = self.combined_index.search(query_combined, k)
316311
original_indices = indices[0]
317312

0 commit comments

Comments
 (0)