  
  def hash_image_file(filename):
      """ Return an image file's sha1 hash """
      img = cv2_read_img(filename, raise_error=True)
      img_hash = sha1(img).hexdigest()
      logger.trace("filename: '%s', hash: %s", filename, img_hash)
      return img_hash
 
</s> remove         logger.trace("Download url: %s", retval)
 </s> add         self.logger.trace("Download url: %s", retval) </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.trace(retval)
 </s> add         self.logger.trace(retval)
    logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  def hash_image_file(filename):
      """ Return an image file's sha1 hash """
    logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
      img = cv2_read_img(filename, raise_error=True)
      img_hash = sha1(img).hexdigest()
      logger.trace("filename: '%s', hash: %s", filename, img_hash)
      return img_hash
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