voxceleb | VoxCeleb dataset - a large-scale speaker identification | Speech library
kandi X-RAY | voxceleb Summary
kandi X-RAY | voxceleb Summary
mirror of VoxCeleb dataset - a large-scale speaker identification dataset
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of voxceleb
voxceleb Key Features
voxceleb Examples and Code Snippets
Community Discussions
Trending Discussions on voxceleb
QUESTION
I'm currently trying to implement a siamese-net in Keras where I have to implement the following loss function:
...ANSWER
Answered 2018-Dec-13 at 19:18Notice that in your model:
y_true
= labelsy_pred
= kullback-leibler divergence
These two cannot be compared, see this example:
For correct results, when
y_true == 1
(same speaker), Kullback-Leibler isy_pred == 0
(no divergence).
So it's totally expected that metrics will not work properly.
Then, either you create a custom metric, or you count only on the loss for evaluations.
This custom metric should need a few adjustments in order to be feasible, as explained below.
This might be a problem
First, notice that you're using clip
in the values for the Kullback-Leibler. This may be bad because clips lose the gradients in the clipped regions. And since your activation is a PRelu
, you have values lower than zero and bigger than 1. Then there are certainly zero gradient cases here and there, with the risk of having a frozen model.
So, you might not want to clip these values. And to avoid having negative values with the PRelu
, you can try to use a 'softplus'
activation, which is kind of a soft relu without negative values. You might also "sum" an epsilon to avoid trouble, but there is no problem in leaving values bigger than one:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install voxceleb
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page