code: def __init__(self):
      super().__init__()
      self.max_size = (MemoryGranularity.Transitions, 1000000)
      self.allow_duplicates_in_batch_sampling = True
  
imports: from typing import List, Tuple, Union
  import pickle
  import random
  import math
  import numpy
  from rl_coach.core_types import Transition
  from rl_coach.logger import screen
  from rl_coach.memories.memory import Memory, MemoryGranularity, MemoryParameters
  from rl_coach.utils import ReaderWriterLock, ProgressBar
label_desc: Use image node_id 1 to create a new ExperienceReplayParameters object from inherited base classes: MemoryParameters with example: obj = ExperienceReplayParameters()