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

Expected 2 but getting nothing #5

Open
joshuayuny opened this issue Jun 18, 2019 · 1 comment
Open

Expected 2 but getting nothing #5

joshuayuny opened this issue Jun 18, 2019 · 1 comment

Comments

@joshuayuny
Copy link

Hi,
I was wondering how to fix this problem? I have tried looking for the solution online but I would still get this error.

Thanks,
Josh

This is the error I would get from running from my computer that has an GPU.

FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq]. In the future this will be interpreted as an array index, arr[np.array(seq)], which will result either in an error or a different result.
result[list(np.indices(arr.shape)) + [arr]] = 1
loading features layer4
Traceback (most recent call last):
File "test.py", line 25, in
features, _ = fo.feature_extraction(0)
ValueError: not enough values to unpack (expected 2, got 0)

@joshuayuny
Copy link
Author

Also I tried getting rid of the , _ but it still hasn't be able to fix that problem.

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