Sargun Nagpal
Results
2
comments of
Sargun Nagpal
@hvgazula Yes, I did. That just calculates the following: pos_cost_class $= -\alpha(1-p)^\gamma log(p)$ neg_cost_class $= -(1-\alpha) p^\gamma log(1-p)]$ Therefore, pos_cost_class - neg_cost_class $= -\alpha(1-p)^\gamma log(p) + (1-\alpha) p^\gamma log(1-p)]$. This...
Hi @hvgazula! Thank you for your reply. I believe it should be: ```FL(all samples) = y * FL(pos samples) + (1-y) * FL(neg samples) ``` However, in the [code](https://github.com/google-research/scenic/blob/main/scenic/projects/owl_vit/losses.py#L37), they...