Open cfobel opened 6 years ago
The following code (see here):
if isinstance(data, np.ndarray): data = data.tostring() if isinstance(data, six.string_types): data = list(bytes(data.encode('utf8'))) return data
needs to be replaced with:
if isinstance(data, np.ndarray): data = data.tobytes() if isinstance(data, six.string_types): data = list(bytes(data)) return data
The following code (see here):
needs to be replaced with: