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

ndarray is not C-contiguous #65

Open
olegranmo opened this issue Jan 26, 2024 · 0 comments
Open

ndarray is not C-contiguous #65

olegranmo opened this issue Jan 26, 2024 · 0 comments

Comments

@olegranmo
Copy link
Member

Dev gives the following error when running LogicalTransformerDemo.py

Traceback (most recent call last):
File "/Users/oleg/Dropbox/Research/Implementations/LogicalTransformer/./LogicalTransformerDemo.py", line 73, in
Y_test_predicted_token, Y_test_scores_token = tms[i][j].predict(X_test_token, return_class_sums=True)
File "/Users/oleg/Dropbox/Research/Implementations/dev/tmu/tmu/models/classification/vanilla_classifier.py", line 425, in predict
encoded_X_test = self.test_encoder_cache.get_encoded_data(
File "/Users/oleg/Dropbox/Research/Implementations/dev/tmu/tmu/util/encoded_data_cache.py", line 18, in get_encoded_data
current_hash = self.compute_hash(data)
File "/Users/oleg/Dropbox/Research/Implementations/dev/tmu/tmu/util/encoded_data_cache.py", line 14, in compute_hash
return xxhash.xxh3_64_hexdigest(arr)
ValueError: ndarray is not C-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

1 participant