Skip to content

Commit

Permalink
Merge branch 'main' into 173-task-pose-estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocat93 authored Jan 16, 2025
2 parents 3600eca + b71e80d commit 32bc0a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tutorials/audio/extract_speaker_embeddings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"metadata": {},
"outputs": [],
"source": [
"from senselab.utils.tasks.cosine_similarity import cosine_similarity\n",
"from senselab.utils.tasks.cosine_similarity import compute_cosine_similarity\n",
"\n",
"\n",
"# DIRECTLY PLOT THE EMBEDDINGS FOR THE TWO FILES\n",
Expand Down Expand Up @@ -142,7 +142,7 @@
" \n",
" for i in range(n):\n",
" for j in range(n):\n",
" similarity_matrix[i, j] = cosine_similarity(embeddings[i], embeddings[j])\n",
" similarity_matrix[i, j] = compute_cosine_similarity(embeddings[i], embeddings[j])\n",
" \n",
" fig, ax = plt.subplots(figsize=(8, 6))\n",
" im = ax.imshow(similarity_matrix, cmap='coolwarm', vmin=-1, vmax=1)\n",
Expand Down Expand Up @@ -187,7 +187,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "senselab",
"display_name": "senselab-KP8v1V64-py3.10",
"language": "python",
"name": "python3"
},
Expand All @@ -201,7 +201,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.0"
"version": "3.10.10"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion tutorials/audio/speaker_verification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# Speaker Verification\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/sensein/senselab/blob/main/tutorials/audio/speaker_diarization.ipynb)\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/sensein/senselab/blob/main/tutorials/audio/speaker_verification.ipynb)\n",
"\n",
"Speaker Verification is a process in which an audio system determines whether a given set of speech samples are from the same speaker. This technology is widely used in various applications such as security systems, authentication processes, and personalized user experiences. The core concept revolves around comparing voice characteristics extracted from speech samples to verify the identity of the speaker.\n",
"\n",
Expand Down

0 comments on commit 32bc0a1

Please sign in to comment.