code: def __init__(self, total, batch):
      self.total = total
      self.batch = batch
      self.curr = total
      self.ids = None
  
file_path: slimmerf/train.py
imports: import os
  from tqdm.auto import tqdm
  from opt import config_parser
  import json, random
  from renderer import *
  from utils import *
  from torch.utils.tensorboard import SummaryWriter
  import datetime
  from dataLoader import dataset_dict
  import sys
  from time import time
  import logging
label_desc: Use image node_id 1 to create a new SimpleSampler object  with example: obj = SimpleSampler(total, batch)