- set up environment
conda env create -f environment.ymlorconda env create -f environment_gpu.ymlor
- Place audios to be retrieved into
static\items- e.g.,esc50 - Clone QBV repository
git clone https://github.com/jonathan-greif/qbv.git
python main.py
- Add new backend to
retrieval_backends- a
rank(item_paths, query_path, cache=None)function for ranking - a
forward_batch(paths)function for caching
- a
- add new backend in
retrieval.pyincache_item_embeddings(),rank(), andget_retrieval_backends().