code: def __init__(self, pretrained=False, freeze=False):
      super(CRAFT, self).__init__()
  
      """ Base network """
      self.basenet = vgg16_bn(pretrained, freeze)
  
      """ U network """
      self.upconv1 = double_conv(1024, 512, 256)
      self.upconv2 = double_conv(512, 256, 128)
      self.upconv3 = double_conv(256, 128, 64)
      self.upconv4 = double_conv(128, 64, 32)
  
      num_class = 2
      self.conv_cls = nn.Sequential(
          nn.Conv2d(32, 32, kernel_size=3, padding=1),
          nn.ReLU(inplace=True),
          nn.Conv2d(32, 32, kernel_size=3, padding=1),
          nn.ReLU(inplace=True),
          nn.Conv2d(32, 16, kernel_size=3, padding=1),
          nn.ReLU(inplace=True),
          nn.Conv2d(16, 16, kernel_size=1),
          nn.ReLU(inplace=True),
          nn.Conv2d(16, num_class, kernel_size=1),
      )
  
      init_weights(self.upconv1.modules())
      init_weights(self.upconv2.modules())
      init_weights(self.upconv3.modules())
      init_weights(self.upconv4.modules())
      init_weights(self.conv_cls.modules())
  
file_path: EasyOCR/easyocr/craft.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from .model.modules import vgg16_bn, init_weights
label_desc: Use image node_id 1 to create a new CRAFT object from inherited base classes: nn with example: obj = CRAFT(pretrained, freeze)