dalle-hivemind icon indicating copy to clipboard operation
dalle-hivemind copied to clipboard

The processed data is not the same as the data shown in the huggingface

Open elricwan opened this issue 2 years ago • 0 comments

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?

elricwan avatar Apr 14 '22 22:04 elricwan