Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while using ACT #25

Open
cifunla opened this issue Feb 23, 2024 · 0 comments
Open

An error occurred while using ACT #25

cifunla opened this issue Feb 23, 2024 · 0 comments

Comments

@cifunla
Copy link

cifunla commented Feb 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant