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

pixel representation #7

Open
gravitychen opened this issue Mar 30, 2020 · 2 comments
Open

pixel representation #7

gravitychen opened this issue Mar 30, 2020 · 2 comments

Comments

@gravitychen
Copy link

gravitychen commented Mar 30, 2020

Dear author,

the code in QuaternionLinear() splits 1d input data into R,I,J,K part , but when we want to do some task on images e.x.MNIST dataset size = ([1,784]), it's weird to operate pixels like this, if I want to make each pixel as quaternion , how should I change the code?

Thank you
Chen

@TParcollet
Copy link
Contributor

MNIST is on the grayscale. Thus, you can replicate each value three time to obtain 0 + value I + value j + value k.

@gravitychen
Copy link
Author

MNIST is on the grayscale. Thus, you can replicate each value three time to obtain 0 + value I + value j + value k.

Thank you ,so it's better to use QuaternionConv() right?

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

2 participants