-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Thank you for your code it has been very helpful for me, however I'm encountering some issues regarding the object detection task:
- If I do not insert the gradient clipping the loss will explode causing it to be nan
- The output of the MultiBoxLoss is a single loss of all the batch [1], whereas the output of the LossNet is [32,1], so once these input are fed to the LossPredLoss it will return always return 0.0 as final loss module
The change that I've made regarding the SSD module is that I've attached the LossNet on this class and called the forward pass on the return of the SSD forward, like so:
return output, self.loss_net(self.features), None
The None is for future work, for returning the embeddings
Metadata
Metadata
Assignees
Labels
No labels