          1 - filter out INFO logs
          2 - filter out WARNING logs
          3 - filter out ERROR logs  """
  
      numeric_level = get_loglevel(loglevel)
      loglevel = "2" if numeric_level > 15 else "0"
      logger.debug("System Verbosity level: %s", loglevel)
      os.environ['TF_CPP_MIN_LOG_LEVEL'] = loglevel
 
</s> remove         if IS_MACOS:
 </s> add         if self.plaid:
            # NB There is no useful way to get allocated VRAM on PlaidML.
            # OpenCL loads and unloads VRAM as required, so this returns the global memory size
            # less the maximum allowed allocation size. It's not particularly useful
            vram = [self.plaid.vram[idx] - self.plaid.max_alloc[idx]
                    for idx in range(self.device_count)]

        elif IS_MACOS: </s> remove         logger.trace(retval)
 </s> add         self.logger.trace(retval) </s> remove         logger.trace(retval)
 </s> add         self.logger.trace(retval) </s> remove             logger.info("Zip already exists. Skipping download")
 </s> add             self.logger.info("Zip already exists. Skipping download") </s> remove             self.active_devices = list(range(self.device_count))
        if self.logger:
            self.logger.debug("Active GPU Devices: %s", self.active_devices)
 </s> add             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]
            else:
                self.active_devices = list(range(self.device_count))
            if self.logger:
                self.logger.debug("Active GPU Devices: %s", self.active_devices)
    logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
    from lib.logger import get_loglevel
          1 - filter out INFO logs
          2 - filter out WARNING logs
          3 - filter out ERROR logs  """
  
    logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
    from lib.logger import get_loglevel
      numeric_level = get_loglevel(loglevel)
      loglevel = "2" if numeric_level > 15 else "0"
      logger.debug("System Verbosity level: %s", loglevel)
      os.environ['TF_CPP_MIN_LOG_LEVEL'] = loglevel
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