code: def main(epochs):
      Task.init(
          project_name="examples",
          task_name="fastai v2 with tensorboard callback",
      )
  
      path = untar_data(URLs.PETS)
      files = get_image_files(path / "images")
  
      dls = ImageDataLoaders.from_name_func(
          path, files, label_func, item_tfms=Resize(224), num_workers=0
      )
      dls.show_batch()
      learn = vision_learner(dls, resnet34, metrics=error_rate)
      learn.fine_tune(epochs, cbs=[TensorBoardCallback()])
      learn.show_results()
  
imports: import argparse
  from clearml import Task
  import fastai
label_desc: Use image node_id 2 for calling a global function with example usage: main(epochs) without return types