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

IndexError: too many indices for array #53

Open
tjulitianyi1997 opened this issue Apr 10, 2020 · 1 comment
Open

IndexError: too many indices for array #53

tjulitianyi1997 opened this issue Apr 10, 2020 · 1 comment

Comments

@tjulitianyi1997
Copy link

When I run lfw_eval.py with pre-models: IndexError: too many indices for array.
Can you give me some advice? Error Log as follow:
/home/tianyili/下载/Sphereface_Pytorch/matlab_cp2tform.py:124: FutureWarning: rcond parameter will change to the default of machine precision times max(M, N) where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass rcond=None, to keep using the old, explicitly pass rcond=-1.
r, _, _, _ = lstsq(X, U)
/home/tianyili/下载/Sphereface_Pytorch/lfw_eval.py:123: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead.
img = Variable(torch.from_numpy(img).float(),volatile=True).cuda()
Traceback (most recent call last):
File "/home/tianyili/下载/Sphereface_Pytorch/lfw_eval.py", line 137, in
best_thresh = find_best_threshold(thresholds, predicts[train])
IndexError: too many indices for array

Process finished with exit code 1

@aksenventwo
Copy link

see #12

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