lucidrains / lucidrains/vector-quantize-pytorch
Is it possible to use Cosine Distance in Residual-VQ?
Open
- Dominant language
- Python
- Stars
- 4k
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I just wonder is it possible to adopt cosine distance instead of Eu distance in Residual VQ?
Have you ever tried this before?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue identifies Residual-VQ but names no files or tests. Locate the Residual-VQ entry point and current Euclidean-distance calculation, then determine whether cosine distance can be supported. Done should be a clear feasibility answer or a scoped implementation verified by focused tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100