Methodforward Args: pred: shape :math:`(N, 1, H, W)`, the prediction of network gt: shape :math:`(N, 1, H, W)`, the target
CAIL2020/cocr/torchocr/networks/losses/DetBasicLoss.py:32
Methodforward pred: one or two heatmaps of shape (N, 1, H, W), the losses of tow heatmaps are added together. gt: (N, 1, H, W)
CAIL2020/cocr/torchocr/networks/losses/DetBasicLoss.py:70
Methodforward(self, context_idxs, context_mask, segment_idxs,
query_mapping, all_mapping,
ids, y1,
CAIL2020/ydljz(hong)/model.py:77