class_docstr: A helper class to tee print's output into a file.
  Usage:
  sys.stdout = Tee(filename)
class_docstr_tok: ["A","helper","class","to","tee","print","'s","output","into","a","file",".","Usage",":","sys.stdout","=","Tee","(","filename",")"]
code: def __getattr__(self, attr):
      return getattr(self.stdout, attr)
  
imports: import argparse
  import datetime
  import io
  import itertools
  import json
  import math
  import os
  import platform
  import re
  import shlex
  import subprocess
  import sys
  from pathlib import Path
  from statistics import fmean
  import pandas
  import torch
  from tqdm import tqdm
  import transformers
label_desc: Use image node_id 2 for calling the Tee obj's underlying member method code with example usage: obj.__getattr__(attr) and returns: getattr