GithubHelp home page GithubHelp logo

Comments (8)

happynear avatar happynear commented on August 17, 2024

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

from faceverification.

xuezhongcailian avatar xuezhongcailian commented on August 17, 2024

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

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

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

from faceverification.

xuezhongcailian avatar xuezhongcailian commented on August 17, 2024

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

from faceverification.

happynear avatar happynear commented on August 17, 2024

我更新了一下,你再试试。
https://github.com/happynear/FaceVerification/blob/master/dataset/LFW/getlfwPairs.m

from faceverification.

xuezhongcailian avatar xuezhongcailian commented on August 17, 2024

你好,再次真心大神感谢您的答复,您有心了,作为刚学习人脸识别的我,好多也不太懂,最近一直看您的代码,我把你更新的的又试了试,出现了以下错误
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)};
不知道在您的机子上是否也会出现类似的错误?

from faceverification.

happynear avatar happynear commented on August 17, 2024

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

from faceverification.

xuezhongcailian avatar xuezhongcailian commented on August 17, 2024

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

from faceverification.

xisi789 avatar xisi789 commented on August 17, 2024

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

from faceverification.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.