VideoTextSCM icon indicating copy to clipboard operation
VideoTextSCM copied to clipboard

What is the mean of 'W_scale' in spatical_triplet_loss ?

Open sheirving opened this issue 2 years ago • 0 comments

https://github.com/lsabrinax/VideoTextSCM/blob/d87ad1bbb6ada7573a02a82045ee1b9ead5861ad/train_embedding.py#L47

Thankyou for share the code! But what's the mean of 'W_scale' in spatical_triplet_loss, and loss_pos = pos_dist * (W_scale + W_pos_dis) - alpha1, why we need to add 'w_scale'?

sheirving avatar Mar 09 '23 09:03 sheirving