code: def npz_convert(self, infile, item):
          
          data = np.load(infile)
          labels = self._labels(data)
          features = data['features']
          self._write(item, labels, features)
docs: Convert a numpy NPZ file to h5features.