code: def load(self):
      if self.model is not None:
          return
  
      files = modelloader.load_models(
          model_path=os.path.join(
              paths.models_path, "torch_deepdanbooru"
          ),
          model_url="https://github.com/AUTOMATIC1111/TorchDeepDanbooru/releases/download/v1/model-resnet_custom_v3.pt",
          ext_filter=[".pt"],
          download_name="model-resnet_custom_v3.pt",
      )
  
      self.model = deepbooru_model.DeepDanbooruModel()
      self.model.load_state_dict(
          torch.load(files[0], map_location="cpu")
      )
  
      self.model.eval()
      self.model.to(devices.cpu, devices.dtype)
  
file_path: stable-diffusion-webui/modules/deepbooru.py
imports: import os
  import re
  import torch
  import numpy
  from modules import modelloader, paths, deepbooru_model, devices, images, shared
label_desc: Use image node_id 2 for calling the DeepDanbooru obj's underlying member method code with example usage: obj.load() without return types