class_docstr: PhotoRestoreModel
  
  Args:
      load_checkpoint(str): Checkpoint save path, default is None.
      visualization (bool): Whether to save the estimation result. Default is True.
code: def __init__(self, visualization: bool = False):
      super(PhotoRestoreModel, self).__init__()
      self.deoldify = hub.Module(name="deoldify")
      self.realsr = hub.Module(name="realsr")
      self.visualization = visualization
  
file_path: PaddleHub/modules/image/Image_editing/colorization/photo_restoration/module.py
imports: import os
  import time
  import cv2
  import paddle.nn
  import paddlehub
  from paddlehub.module.module import moduleinfo, serving
  from .None import utils
label_desc: Use image node_id 1 to create a new PhotoRestoreModel object from inherited base classes: nn with example: obj = PhotoRestoreModel(visualization)