class_docstr: Base class for text detection module loss.
      
code: def __init__(self) -> None:
      super().__init__()
  
file_path: mmocr/mmocr/models/textdet/module_losses/base.py
imports: from abc import ABCMeta, abstractmethod
  from typing import Dict, Sequence, Tuple, Union
  import torch
  from torch import nn
  from mmocr.registry import MODELS
  from mmocr.utils.typing_utils import DetSampleList
label_desc: Use image node_id 1 to create a new BaseTextDetModuleLoss object from inherited base classes: nn with example: obj = BaseTextDetModuleLoss()