Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
elricwan opened this issue Apr 14, 2022 · 0 comments
Open

Comments

@elricwan
Copy link

elricwan commented Apr 14, 2022

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 elricwan changed the title Data reuse Data download Apr 14, 2022
@elricwan elricwan changed the title Data download The processed data is not the same as the data shown in the huggingface Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant