cyh24 / joint-bayesian Goto Github PK
View Code? Open in Web Editor NEWFace verify using Joint Bayesian, implemented by Python
Face verify using Joint Bayesian, implemented by Python
(200, 128)
prepare done, maxNumberInOneClass= 125
Traceback (most recent call last):
File "/data/run/jakie/hp_eval/ag/get_AG_file.py", line 52, in
A, G = joint_bayesian_funcs.JointBayesian_Train(allDeepId, train_y[0:200])
File "../ag/joint_bayesian_funcs.py", line 165, in JointBayesian_Train
G = -np.dot(np.dot(np.linalg.pinv(mi * Su + Sw), Su), F)
File "/usr/lib64/python2.7/site-packages/numpy/linalg/linalg.py", line 1647, in pinv
u, s, vt = svd(a, 0)
File "/usr/lib64/python2.7/site-packages/numpy/linalg/linalg.py", line 1389, in svd
u, s, vt = gufunc(a, signature=signature, extobj=extobj)
ValueError: On entry to DLASCL parameter number 4 had an illegal value
Process finished with exit code 1
python test_lfw.py
(71846, 5900) (71846, 1)
2015-10-27, 19:18:08 PCA training (n_components=2000)...
Traceback (most recent call last):
File "test_lfw.py", line 64, in
excute_train()
File "test_lfw.py", line 22, in excute_train
pca = PCA_Train(data, result_fold)
File "/opt/wjc/Joint-Bayesian/src/joint_bayesian.py", line 122, in PCA_Train
pca.fit(data)
File "/usr/lib64/python2.7/site-packages/sklearn/decomposition/pca.py", line 221, in fit
self._fit(X)
File "/usr/lib64/python2.7/site-packages/sklearn/decomposition/pca.py", line 271, in _fit
U, S, V = linalg.svd(X, full_matrices=False)
File "/usr/lib64/python2.7/site-packages/scipy/linalg/decomp_svd.py", line 104, in svd
full_matrices=full_matrices, overwrite_a=overwrite_a)
ValueError: On entry to SGESDD parameter number 12 had an illegal value
what's your method of solving the error?
Hi, Thanks for the codes. it's easy to use.
here an confusion about data_pre(). I am confused about why you do np.sqrt(data)? is it neccessary? because for CNN feature, it contain negative number. it will produce NAN value.
looking for reply
请问数据去哪里下载?链接都过期了。
为什么数据预处理要sqrt(data)呢?这里不是很懂,求解答!
Joint-Bayesian/src/joint_bayesian.py
Line 81 in fa38b7a
The final reshape
operation seems to be unnecessary.
你好,有没有用c或c++写联合贝叶斯呢?
人脸识别的时候,联合贝叶斯比直接最近邻要好?
谢谢! 刚刚接触很多不懂的。
这个论文的数据下载不下来,请问能传我一份吗?谢谢了!
Joint-Bayesian/src/joint_bayesian.py
Line 156 in fa38b7a
Is it pre = dist <= t_s
? Since positive means y==1
, while dist >= t_s
means negtive.
请问评估性能时,阈值如何取的呢
excute_performance("../result/result.pkl", -16.9, -16.6, 0.01)
Cannot find the datasets used in the code. Opening the link shoes 404 error. Please help
The old link is 404.
Thanks a lot if you can help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.