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

FaceVerification/dataset/LFW/getlfwPairs.m 不能运行 #66

Open
xuezhongcailian opened this issue Aug 30, 2017 · 8 comments
Open

FaceVerification/dataset/LFW/getlfwPairs.m 不能运行 #66

xuezhongcailian opened this issue Aug 30, 2017 · 8 comments

Comments

@xuezhongcailian
Copy link

你好,我把你的这个文件在自己的matlab下运行,有错误,你能帮我看看在你电脑上运行是否通过吗,我也不知道怎么就不能运行通过,谢谢了

@happynear
Copy link
Owner

这个文件是放在LFW目录下运行的。

@xuezhongcailian
Copy link
Author

你是说'pairs.txt'文件也要跟此文件在同一目录下吗?我试过了还是不行,这是出错的地方

getlfwPairs
Assignment has more non-singleton rhs dimensions than non-singleton subscripts

Error in getlfwPairs (line 15)
lfw_label(j,1) = id1;

@xuezhongcailian
Copy link
Author

等待大神的回复,万分感谢

@happynear
Copy link
Owner

@xuezhongcailian
Copy link
Author

你好,再次真心大神感谢您的答复,您有心了,作为刚学习人脸识别的我,好多也不太懂,最近一直看您的代码,我把你更新的的又试了试,出现了以下错误
Index exceeds matrix dimensions.

Error in test (line 45)
diff_pair((i-1)*n_num + j,1) = {sprintf('%s/%s/%s_%04d.jpg',pwd,p1{1},p1{1},id1)};
不知道在您的机子上是否也会出现类似的错误?

@happynear
Copy link
Owner

这个就是我现在天天跑的代码。。你可以自己debug一下,看看(i-1)*n_num + j是多少,为什么会溢出。

@xuezhongcailian
Copy link
Author

好的,多谢了,我自己在摸索摸索,有不懂的再问大神,希望大神不要嫌弃我这渣渣

@xisi789
Copy link

xisi789 commented Jul 14, 2018

我遇到相同问题,你的问题是怎么解决的呢

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

3 participants