      def write_model(self, zip_file):
          """ Extract files from zipfile and write, with progress bar """
          length = sum(f.file_size for f in zip_file.infolist())
          fnames = zip_file.namelist()
          logger.debug("Zipfile: Filenames: %s, Total Size: %s", fnames, length)
          pbar = tqdm(desc="Extracting", unit="B", total=length, unit_scale=True, unit_divisor=1024)
          for fname in fnames:
              out_fname = os.path.join(self.cache_dir, fname)
              logger.debug("Extracting from: '%s' to '%s'", self._model_zip_path, out_fname)
              zipped = zip_file.open(fname)
 
</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) </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.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.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)
        self.logger.debug("Zipfile: Filenames: %s, Total Size: %s", fnames, length)
      def write_model(self, zip_file):
          """ Extract files from zipfile and write, with progress bar """
          length = sum(f.file_size for f in zip_file.infolist())
          fnames = zip_file.namelist()
        self.logger.debug("Zipfile: Filenames: %s, Total Size: %s", fnames, length)
          pbar = tqdm(desc="Extracting", unit="B", total=length, unit_scale=True, unit_divisor=1024)
          for fname in fnames:
              out_fname = os.path.join(self.cache_dir, fname)
              logger.debug("Extracting from: '%s' to '%s'", self._model_zip_path, out_fname)
              zipped = zip_file.open(fname)
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