class_docstr: Userguidedcolorization, see https://github.com/haoyuying/colorization-pytorch
  
  Args:
      use_tanh (bool): Whether to use tanh as final activation function.
      load_checkpoint (str): Pretrained checkpoint path.
class_docstr_tok: ["Userguidedcolorization",",","see","https",":","\/\/github.com\/haoyuying\/colorization-pytorch","Args",":","use_tanh","(","bool",")",":","Whether","to","use","tanh","as","final","activation","function",".","load_checkpoint","(","str",")",":","Pretrained","checkpoint","path","."]
code: def set_config(
      self,
      classification: bool = True,
      prob: float = 1.0,
      num_point: int = None,
  ):
      self.classification = classification
      self.pre_func = ColorizePreprocess(
          ab_thresh=0.0, p=prob, points=num_point
      )
  
file_path: PaddleHub/modules/image/Image_editing/colorization/user_guided_colorization/module.py
imports: import os
  import paddle
  import paddle.nn
  from paddle.nn import Conv2D, Conv2DTranspose
  from paddlehub.module.module import moduleinfo
  import paddlehub.vision.transforms
  from paddlehub.module.cv_module import ImageColorizeModule
  from .data_feed import ColorizePreprocess
label_desc: Use image node_id 3 for calling the UserGuidedColorization obj's underlying member method code with example usage: obj.set_config(classification, prob, num_point) without return types