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/matlabcp2tform.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
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/matlabcp2tform.py:124: FutureWarning:
best_thresh = find_best_threshold(thresholds, predicts[train])
IndexError: too many indices for array
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 passrcond=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. Usewith 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, inProcess finished with exit code 1