code: def open_tsv(fname, folder):
      print("Opening %s Data File..." % fname)
      df = pd.read_csv(
          fname, sep="\t", names=["caption", "url"]
      )  # , usecols=range(1, 2))
      df["folder"] = folder
      print("Processing", len(df), " Images:")
      return df
  
imports: import glob
  from pathlib import Path
  import time
  from omegaconf import OmegaConf
  import pandas
  import numpy
  import requests
  import zlib
  import os
  import io
  import shelve
  from lavis.common.utils import get_abs_path, get_cache_path
  import magic
  import json
  from multiprocessing import Pool
  from tqdm import tqdm
  from PIL import Image
  from torchvision.transforms import functional
label_desc: Use image node_id 8 for calling a global function with example usage: open_tsv(fname, folder) and returns: df