You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 timesmax(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 passrcond=-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
The text was updated successfully, but these errors were encountered: