Skip to content

Commit

Permalink
Update default similarity analyzers
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Jan 29, 2024
1 parent 92461a2 commit be81ad3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions freesound/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit be81ad3

Please sign in to comment.