dalle-hivemind
dalle-hivemind copied to clipboard
The processed data is not the same as the data shown in the huggingface
In order to transform transform image byte to numpy array, we use np.frombuffer(encoded, np.int16).astype(np.int64), however, I find out that the processsed data is different compared to the original data shown in huggingface. On the otherhand, if we try np.frombuffer(encoded, np.uint8).astype(np.int64), then the processed data is the same. Would that influence the model performance?