          os.remove(self._model_zip_path)
  
      def download_model(self):
          """ Download model zip to cache dir """
          logger.info("Downloading model: '%s' from: %s", self._model_name, self._url_download)
          for attempt in range(self.retries):
              try:
                  downloaded_size = self._url_partial_size
                  req = urllib.request.Request(self._url_download)
                  if downloaded_size != 0:
 
</s> remove                 logger.debug("header info: {%s}", response.info())
                logger.debug("Return Code: %s", response.getcode())
 </s> add                 self.logger.debug("header info: {%s}", response.info())
                self.logger.debug("Return Code: %s", response.getcode()) </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.info("Zip already exists. Skipping download")
 </s> add             self.logger.info("Zip already exists. Skipping download") </s> remove         logger.trace(retval)
 </s> add         self.logger.trace(retval) </s> remove             logger.debug("Extracting from: '%s' to '%s'", self._model_zip_path, out_fname)
 </s> add             self.logger.debug("Extracting from: '%s' to '%s'", self._model_zip_path, out_fname)
        self.logger.info("Downloading model: '%s' from: %s", self._model_name, self._url_download)
          os.remove(self._model_zip_path)
  
      def download_model(self):
          """ Download model zip to cache dir """
        self.logger.info("Downloading model: '%s' from: %s", self._model_name, self._url_download)
          for attempt in range(self.retries):
              try:
                  downloaded_size = self._url_partial_size
                  req = urllib.request.Request(self._url_download)
                  if downloaded_size != 0:
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