-
In losses.py, we're required to finish the part of Focal Loss from 107th line to 117th line.
`focal_weight = "?"`
`bce = "?"`
`cls_loss = focal_weight * bce`
However, I'm a little bit con…
-
我感觉你的focal loss 有点和论文不一样是你自己修改的还是,这么样的呢?可以给我些解答吗
-
Hi, I saw the calculation of focal_Loss in your loss. py. Have you used this Loss function?Is it mainly for sound event detection? Is there any rule in parameter design?
-
In order to solve the problem of unbalanced categories and difficult samples
-
Thanks for the nice repo.
Maybe you applied the Focal Loss in **mrcnn_class_loss_graph**, but what about **rpn_bbox_loss_graph and rpn_class_loss_graph** ?
Why did you not apply here?
Thanks
-
how to infer the modulator
the code in your repo
```
modulator = tf.exp(-gamma * labels * logits - gamma * tf.log1p(
tf.exp(-1.0 * logits)))
```
for focal loss in [tensorflow/mode…
-
### Prerequisite
- [X] I have searched [Issues](https://github.com/open-mmlab/mmcv/issues) and [Discussions](https://github.com/open-mmlab/mmcv/discussions) but cannot get the expected help.
- [X] Th…
-
Hi, I have two questions about `focal_loss()` in loss.py
1. why do you use `tf.nn.sigmoid`, instead of `tf.nn.softmax`? In the comment it says "Compute softmax focal loss..." Is this a bug or you d…
-
Hi @CasiaFan , Can you explain the weighting you apply on the focal loss ?
` weighted_loss = ce * tf.pow(1-predictions_pt, gamma) * alpha_t * tf.expand_dims(weights, axis=2)`
Is it something in orig…
-
I just implemented prototypical focal loss support for Fasttext [1]. This loss is often used if your trainings set consists of many labels and/or is highly imbalanced [2]. For my purposes it works qui…