code: def __init__(self):
      backbone = resnet50(
          pretrained=False, include_top=False, freeze=False
      )
      super().__init__(backbone=backbone, num_classes=2)
  
file_path: BigDL/python/nano/benchmark/resnet50/pytorch-cat-dog.py
imports: import os
  import json
  import torch
  import time
  from bigdl.nano.pytorch.vision.datasets import ImageFolder
  from bigdl.nano.pytorch.vision.transforms import transforms
  import argparse
  from torch.utils.data import DataLoader
  from torchvision.datasets.utils import download_and_extract_archive
  from bigdl.nano.pytorch.vision.models import resnet50
  from bigdl.nano.pytorch.vision.models import ImageClassifier
  from bigdl.nano.pytorch import Trainer
label_desc: Use image node_id 1 to create a new Classifier object from inherited base classes: ImageClassifier with example: obj = Classifier()