code: def __init__(self):
      self.avg_values = {}
      self.iters = {}
  
imports: import datetime
  import glob
  import os
  import shutil
  import subprocess
  import sys
  from pathlib import Path
  import torch
label_desc: Use image node_id 1 to create a new KeepAverage object  with example: obj = KeepAverage()