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

Compression fails on non-contigous feats #34

Open
janvainer opened this issue Nov 29, 2021 · 2 comments
Open

Compression fails on non-contigous feats #34

janvainer opened this issue Nov 29, 2021 · 2 comments

Comments

@janvainer
Copy link

Hi, I am getting a stride error when running compression on non-contiguous tensors:

lilcom: compression error: last stride should be 1, got 253

The error message is a bit confusing and its not clear wht the problem is. Some solutions could be:

  1. warn the user that inputs should be contiguous and make the tensor contiguous or
  2. fail with a message that will tell the user to make their tensor contiguous.
@csukuangfj
Copy link
Collaborator

Does this error still exist?

@danpovey
Copy link
Owner

danpovey commented Jul 5, 2022

It's intended to be a warning that the user should make the tensor contiguous.

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

3 participants