SMCA-DETR icon indicating copy to clipboard operation
SMCA-DETR copied to clipboard

An error occurred while using ACT

Open cifunla opened this issue 1 year ago • 0 comments

Hello, I have come across the following issue while using ACT, and I would greatly appreciate it if I could receive some assistance:

File "/usr/local/miniconda3/lib/python3.8/site-packages/ACT-0.0.0-py3.8-linux-x86_64.egg/ACT/ada_clustering_attention.py", line 112, in forward q_groups, q_counts = self._create_clusters(queries, self.q_hashes) File "/usr/local/miniconda3/lib/python3.8/site-packages/ACT-0.0.0-py3.8-linux-x86_64.egg/ACT/ada_clustering_attention.py", line 103, in _create_clusters groups, counts = ada_cluster(hashes, n_hashes=n_hashes) TypeError: ada_cluster() got an unexpected keyword argument 'n_hashes'

Also, while reviewing the code in the ACT folder, I noticed that the variable “q_hashes” in ACT/extensions/init.py is not being used.

cifunla avatar Feb 23 '24 09:02 cifunla