  
          self._feeds = {side: self._load_generator(idx).minibatch_ab(images[side], batch_size, side)
                         for idx, side in enumerate(("a", "b"))}
  
          self._display_feeds = dict(preview=self._set_preview_feed(), timelapse=dict())
          logger.debug("Initialized %s:", self.__class__.__name__)
  
      def _load_generator(self, output_index):
          """ Load the :class:`~lib.training_data.TrainingDataGenerator` for this feeder.
  
 
</s> remove         self._target = dict()
        self._samples = dict()
        self._masks = dict()
 </s> add         self._target = {}
        self._samples = {}
        self._masks = {} </s> remove         retval = dict()
 </s> add         retval = {} </s> remove         feeds = dict()
        figures = dict()
        headers = dict()
 </s> add         feeds = {}
        figures = {}
        headers = {} </s> remove         self._sessions = dict()
        self._lowest_avg_loss = dict()
        self._config = dict()
 </s> add         self._sessions = {}
        self._lowest_avg_loss = {}
        self._config = {} </s> remove         self.return_file = getattr(self, "_{}".format(self._handletype.lower()))()
 </s> add         self.return_file = getattr(self, f"_{self._handletype.lower()}")()
        self._remove_dummy_master()

        self._display_feeds = dict(preview=self._set_preview_feed(), timelapse={})
  
          self._feeds = {side: self._load_generator(idx).minibatch_ab(images[side], batch_size, side)
                         for idx, side in enumerate(("a", "b"))}
  
        self._display_feeds = dict(preview=self._set_preview_feed(), timelapse={})
          logger.debug("Initialized %s:", self.__class__.__name__)
  
      def _load_generator(self, output_index):
          """ Load the :class:`~lib.training_data.TrainingDataGenerator` for this feeder.
  
keep keep keep keep replace keep keep keep keep keep
 Update code to support Tensorflow versions up to 2.8 (#1213)

* Update maximum tf version in setup + requirements

* - bump max version of tf version in launcher
- standardise tf version check

* update keras get_custom_objects  for tf>2.6

* bugfix: force black text in GUI file dialogs (linux)

* dssim loss - Move to stock tf.ssim function

* Update optimizer imports for compatibility

* fix logging for tf2.8

* Fix GUI graphing for TF2.8

* update tests

* bump requirements.txt versions

* Remove limit on nvidia-ml-py

* Graphing bugfixes
  - Prevent live graph from displaying if data not yet available

* bugfix: Live graph. Collect loss labels correctly

* fix: live graph - swallow inconsistent loss errors

* Bugfix: Prevent live graph from clearing during training

* Fix graphing for AMD 
plugins/train/trainer/_base.py