Hi i’m trying to train a SSD-model

For that i define 2 loss functions,

One for location loss and another for class loss(cross entropy loss)

```
loss1 = SSD_box_loss(labels_for_batch, gt_with_max_overlap, boxPrediction.cuda())
loss2 = SSD_cls_loss(labels_for_batch, positive_predicted_Boxes, negative_predicted_Boxes, labelPrediction.cuda())
loss = loss1 * loss2
loss.backward
optimizer.step()
```

and for optimizer im using

```
optimizer = torch.optim.Adam(model.parameters(), lr=0.005)
```

but the loss never decrease,

if i try with only one loss, each losses decreased…

how can i deal with it?