mirror of
https://github.com/20kaushik02/CSE515_MWDB_Project.git
synced 2025-12-06 10:54:07 +00:00
Print labels of the images
This commit is contained in:
parent
c7812bdbfb
commit
e5d296f438
@ -190,7 +190,7 @@
|
||||
"for index, vector in enumerate(even_feature_vectors):\n",
|
||||
" lsh.add_vector(vector.tolist(), index * 2)\n",
|
||||
"\n",
|
||||
"query_vector = np.array(odd_feature_vectors[(query_image_id // 2)]) # You can replace this with your query vector\n",
|
||||
"query_vector = np.array(odd_feature_vectors[(query_image_id // 2)])\n",
|
||||
"\n",
|
||||
"result_t_unique, unique_count, overall_count = lsh.query_t_unique(query_vector, t)\n",
|
||||
"print(f\"Number of unique vectors considered: {unique_count}\")\n",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user