code: def __init__(self, fname):
      super(CycleDataset, self).__init__()
  
      with open(fname, "rb") as f:
          self.dataset = pickle.load(f)
  
imports: import os
  import pickle
  import random
  import matplotlib.pyplot
  import networkx
  from torch.utils.data import Dataset
label_desc: Use image node_id 1 to create a new CycleDataset object from inherited base classes: Dataset with example: obj = CycleDataset(fname)