Git Product home page Git Product logo

deepid1's People

Contributors

jinze1994 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

deepid1's Issues

关于数据集大小对测试中checkpoint恢复的影响?

您好,很感谢您的代码。我有一个问题想请教,由于我的机器运行vec.py代码时候内存不够大,因此导致了无法将所有的训练数据保存到dataset.pkl中,因此我适当的减小了训练数据集后将vec.py运行通过。之后直接利用30000.ckpt进行预测,可是在saver.restore(sess, '/home/weihua/git/tensorflow/faceID/DeepID1-master/checkpoint/30000.ckpt')这一步总是报错,请问是不是因为恢复的深度模型中的数据必须是与完整的数据集匹配对应上才能进行预测呢?
其中的一部分可能有关的报错为:
InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [1273] rhs shape= [1283] [[Node: save/Assign_11 = Assign[T=DT_FLOAT, _class=["loc:@loss/nn_layer/biases/Variable"], use_locking=true, validate_shape=true,......
非常感谢

请问accuracy的形参是不是有误?

deepid1.py 中
def accuracy(y_estimate, y_real):
with tf.name_scope('accuracy'):
with tf.name_scope('correct_prediction'):
correct_prediction = tf.equal(tf.argmax(y,1), tf.argmax(y_,1))
with tf.name_scope('accuracy'):
accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))
tf.scalar_summary('accuracy', accuracy)
return accuracy

形参y_estimate, y_real 好像在函数体中没有出现

关于代码使用数据集和DeepID论文中数据增广的问题

答主您好,您的代码使用的数据是一个人有几十甚至上百张图像,而原文是讲一个人的图片处理成120张,60对图片送入网络训练,最后得到的特征向量也是120*160大小的,需要有一个降维的操作,并且没有使用余弦相似度的计算方式。
我的问题是:
1 原文的处理图片的方式是否在面对每个人有大量图片的数据集时是不必要的
2 使用余弦相似度和原文的联合贝叶斯得到的结果相差会太大吗
3 最后阈值选择的合理性在哪,我通过验证集迭代一个阈值列表来得到真正例率/假正例率最高的阈值,效果为什么比较差
麻烦答主解答我的一点疑惑,感谢!

dataset

你好,我下载不了数据集

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.