pytorch-image-models/timm/loss
Hoan Nguyen 39190f5f44
Remove inplace operators when calculating the loss
Remove inplace operators to overcome the following error when using `asymmetric_loss`
```
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation
```
2022-10-17 10:41:21 +02:00
..
__init__.py
asymmetric_loss.py Remove inplace operators when calculating the loss 2022-10-17 10:41:21 +02:00
binary_cross_entropy.py
cross_entropy.py
jsd.py