syncnet_trainer icon indicating copy to clipboard operation
syncnet_trainer copied to clipboard

intuition behind trainable weights and bias for losses

Open DikshaMeghwal opened this issue 1 year ago • 1 comments

Hey I was wondering if you could shed some light on why did you add learnable weights and biases to the sync and identity losses? To me it seemed like you were possibly trying to scale and shift but I don't understand why the model doesn't train without it. Also if you put learnable weights and biases, whats stopping the weight to be 0 and making loss 0? I am using voxceleb dataset for training.

Below are the loss curves for when I removed the weights. The sync loss seems to be stagnant while the identity loss is increasing. Screenshot 2024-04-15 at 12 46 35 PM Screenshot 2024-04-15 at 12 46 51 PM

DikshaMeghwal avatar Apr 15 '24 19:04 DikshaMeghwal

hello, Seeing that you have successfully trained this code, I would like to ask what is the meaning of offset in dataLoader() when processing the data? Is this taken from the txt file? Thank you!

6eternal6 avatar Aug 26 '24 07:08 6eternal6