code: def __init__(
      self, device: str = "cpu", *, use_half: bool = False
  ) -> None:
      m = load_model("hrnet32_idih256", download_model("hrnet"))
      self.device = device
      self.predictor = Predictor(m, device, with_flip=False)
  
file_path: carefree-learn/cflearn/api/cv/third_party/iharm/api.py
imports: import numpy
  from typing import Union
  from PIL.Image import Image
  from cftool.cv import read_image
  from .inference.utils import load_model
  from .inference.predictor import Predictor
  from .....misc.toolkit import download_model
label_desc: Use image node_id 1 to create a new ImageHarmonizationAPI object  with example: obj = ImageHarmonizationAPI(device)