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

ValueError: cannot reshape array of size 49639 into shape (148917,1) #30

Open
1zylzrb1 opened this issue Jan 15, 2024 · 0 comments
Open

Comments

@1zylzrb1
Copy link

Traceback (most recent call last):
File "/home/zyl/Projects/Heterodata/FMG/mf_features_generator.py", line 165, in
run_all_yelp()
File "/home/zyl/Projects/Heterodata/FMG/mf_features_generator.py", line 95, in run_all_yelp
run(path_str)
File "/home/zyl/Projects/Heterodata/FMG/mf_features_generator.py", line 49, in run
U,V = mf.run()
^^^^^^^^
File "/home/zyl/Projects/Heterodata/FMG/mf.py", line 135, in run
obs = omega.copy().data.astype(np.float64).reshape(self.train_num, 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot reshape array of size 49639 into shape (148917,1)
When I run" python mf_features_generator.py yelp-50k all 1", this issue appears. Can you help me out? Thank you.

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