                  out_file.write(buffer)
  
      def unzip_model(self):
          """ Unzip the model file to the cachedir """
          logger.info("Extracting: '%s'", self._model_name)
          try:
              zip_file = zipfile.ZipFile(self._model_zip_path, "r")
              self.write_model(zip_file)
          except Exception as err:  # pylint:disable=broad-except
              logger.error("Unable to extract model file: %s", str(err))
 
</s> remove             logger.error("Unable to extract model file: %s", str(err))
 </s> add             self.logger.error("Unable to extract model file: %s", str(err)) </s> remove         logger.trace(retval)
 </s> add         self.logger.trace(retval) </s> remove                     logger.error("Failed to download model. Exiting. (Error: '%s', URL: '%s')",
                                 str(err), self._url_download)
                    logger.info("You can try running again to resume the download.")
                    logger.info("Alternatively, you can manually download the model from: %s and "
                                "unzip the contents to: %s", self._url_download, self.cache_dir)
 </s> add                     self.logger.error("Failed to download model. Exiting. (Error: '%s', URL: "
                                      "'%s')", str(err), self._url_download)
                    self.logger.info("You can try running again to resume the download.")
                    self.logger.info("Alternatively, you can manually download the model from: %s "
                                     "and unzip the contents to: %s",
                                     self._url_download, self.cache_dir) </s> remove         logger.trace(retval)
 </s> add         self.logger.trace(retval)
        self.logger.info("Extracting: '%s'", self._model_name)
                  out_file.write(buffer)
  
      def unzip_model(self):
          """ Unzip the model file to the cachedir """
        self.logger.info("Extracting: '%s'", self._model_name)
          try:
              zip_file = zipfile.ZipFile(self._model_zip_path, "r")
              self.write_model(zip_file)
          except Exception as err:  # pylint:disable=broad-except
              logger.error("Unable to extract model file: %s", str(err))
keep keep keep keep replace keep 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