                  req = urllib.request.Request(self._url_download)
                  if downloaded_size != 0:
                      req.add_header("Range", "bytes={}-".format(downloaded_size))
                  response = urllib.request.urlopen(req, timeout=10)
                  logger.debug("header info: {%s}", response.info())
                  logger.debug("Return Code: %s", response.getcode())
                  self.write_zipfile(response, downloaded_size)
                  break
              except (socket_error, socket_timeout,
                      urllib.error.HTTPError, urllib.error.URLError) as err:
                  if attempt + 1 < self.retries:
 
</s> remove                     logger.warning("Error downloading model (%s). Retrying %s of %s...",
                                   str(err), attempt + 2, self.retries)
 </s> add                     self.logger.warning("Error downloading model (%s). Retrying %s of %s...",
                                        str(err), attempt + 2, self.retries) </s> remove         logger.info("Downloading model: '%s' from: %s", self._model_name, self._url_download)
 </s> add         self.logger.info("Downloading model: '%s' from: %s", self._model_name, self._url_download) </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             retval = "Not Found"
 </s> add             retval = "No global version found" </s> remove             logger.info("Zip already exists. Skipping download")
 </s> add             self.logger.info("Zip already exists. Skipping download")
                self.logger.debug("header info: {%s}", response.info())
                self.logger.debug("Return Code: %s", response.getcode())
                  req = urllib.request.Request(self._url_download)
                  if downloaded_size != 0:
                      req.add_header("Range", "bytes={}-".format(downloaded_size))
                  response = urllib.request.urlopen(req, timeout=10)
                self.logger.debug("header info: {%s}", response.info())
                self.logger.debug("Return Code: %s", response.getcode())
                self.logger.debug("header info: {%s}", response.info())
                self.logger.debug("Return Code: %s", response.getcode())
                  self.write_zipfile(response, downloaded_size)
                  break
              except (socket_error, socket_timeout,
                      urllib.error.HTTPError, urllib.error.URLError) as err:
                  if attempt + 1 < self.retries:
keep keep keep keep replace 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