-
In the 'losses.py', there is not multi_target parameter in the '\__init\__ ', so executing the code raises the error: "TypeError: FocalLoss.__init__() got an unexpected keyword argument 'multi_target…
-
### 🚀 The feature
Making the focal loss api similar to BCE api. In which the difference between BCELoss and BCELossWithLogits is clear and is made as a class as well as a function.
### Motivation, p…
-
**Short Description**
Currently `FocalLoss` reduces multi - label problems by a `mean` (see below):
https://github.com/keras-team/keras-cv/blob/ff20079aebe8e80bc355c279c9c5541a7c823535/keras_cv/…
-
Hi, I want to run the code. But I found some problems about the environment. I pipped the 'focalloss' package for both pytorch and tensorflow, but there was still an error "ModuleNotFoundError: No mod…
-
## ❓ Questions and Help
Hi All,
I Have this code
```
import optuna
from torch.optim.lr_scheduler import ReduceLROnPlateau
# Assuming dataset is already defined
train_size = int(0.8 * len(da…
-
**System information**
- OS Platform and Distribution: Monterey 12.6.3 (M2)
- Python version: 3.11
- DeepTables version: 0.2.5
- Other Python packages: `keras==2.14.0 ml-dtypes==0.2.0 tensorboard=…
-
-
Hello, I want to know how the weight in FocalLoss is determined according to the voxel ratio of different organs. For example, the voxel ratio of large organs and small organs is 500:1. How should the…
-
in the code loss.py, line 195:
`gamma = cfg.LOSS.FL_GAMMA
if gamma > 0:
BCEcls, BCEobj = FocalLoss(BCEcls, gamma), FocalLoss(BCEobj, gamma)`
but in the code default.py, line 39:
`_C.LOSS.FL_…
-
导师,您好!
我想问一下,在YOLOv4中,损失函数替换为focalloss的话,def fit_one_epoch函数中的前向传播、反向传播需要保留吗,或者说utils_fit_py文件有什么需要改的呢,(我参考的是您efficientdet里面focalloss的写法)