From be81ad3a013fa55e6596a1aafba1b86900302fc3 Mon Sep 17 00:00:00 2001 From: ffont Date: Mon, 29 Jan 2024 15:59:42 +0100 Subject: [PATCH] Update default similarity analyzers --- freesound/settings.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/freesound/settings.py b/freesound/settings.py index c9b423f15..ff37e3750 100644 --- a/freesound/settings.py +++ b/freesound/settings.py @@ -643,12 +643,12 @@ 'vector_property_name': 'embeddings', 'vector_size': 100, }, - AUDIOSET_YAMNET_ANALYZER_NAME: { - 'vector_property_name': 'embeddings', - 'vector_size': 100, # Note yamnet has higher dimensionality and here we're cropping dimensions - }, + FREESOUND_ESSENTIA_EXTRACTOR_NAME: { + 'vector_property_name': 'sim_vector', + 'vector_size': 100, + } } -SEARCH_ENGINE_DEFAULT_SIMILARITY_ANALYZER = FSDSINET_ANALYZER_NAME +SEARCH_ENGINE_DEFAULT_SIMILARITY_ANALYZER = FREESOUND_ESSENTIA_EXTRACTOR_NAME SEARCH_ENGINE_NUM_SIMILAR_SOUNDS_PER_QUERY = 500 USE_SEARCH_ENGINE_SIMILARITY = False # Does not currently apply to API