class_docstr: Image extractor
  Args:
      image_model (str): image model
      finetune (bool): finetune
code: def __init__(self, image_model: str, finetune: bool):
      super().__init__()
      self.finetune = finetune
      self.image_model = clip.create_model(
          image_model,
          device="cuda" if torch.cuda.is_available() else "cpu",
          pretrained=True,
      )
  
imports: import torch
  from torch import nn
  from towhee.models import clip
label_desc: Use image node_id 1 to create a new ImageExtractor object from inherited base classes: nn with example: obj = ImageExtractor(image_model, finetune)