  
  
  def get_image_paths(directory):
      """ Return a list of images that reside in a folder """
      image_extensions = _image_extensions
      dir_contents = list()
  
      if not os.path.exists(directory):
 
</s> remove         devices = os.environ.get("CUDA_VISIBLE_DEVICES", None)
        if self.device_count == 0:
            self.active_devices = list()
        elif devices is not None:
            self.active_devices = [int(i) for i in devices.split(",") if devices]
 </s> add         if self.plaid is not None:
            self.active_devices = self.plaid.active_devices </s> remove             if not IS_MACOS:
 </s> add             if not IS_MACOS and not self.plaid:
    logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  def get_image_paths(directory):
      """ Return a list of images that reside in a folder """
    logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
      image_extensions = _image_extensions
      dir_contents = list()
  
      if not os.path.exists(directory):
keep keep keep add keep keep keep keep
 Experimental AMD Support (#764)

* PlaidML support in setup.py

* Add AMD flag for plaidml support

* PlaidML - Use .plaidML file if present, otherwise default to largest available

* Update training info message for GUI

* Add AMD option to Windows Installer

* Add quiet keras.backend importer and minor sysinfo amend.

* plug PlaidMLStats into GPUStats

* Update Docs 
lib/utils.py