资源简介
windows 10; vs2013; 说话人识别和说话人性别识别SDK,利用GUMM-UBM算法实现。https://blog.csdn.net/u012594175/article/details/89003815
代码片段和文件信息
// This file is part of Eigen a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2015 Benoit Jacob
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file You can obtain one at http://mozilla.org/MPL/2.0/.
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
const int default_precision = 4;
// see --only-cubic-sizes
bool only_cubic_sizes = false;
// see --dump-tables
bool dump_tables = false;
uint8_t log2_pot(size_t x) {
size_t l = 0;
while (x >>= 1) l++;
return l;
}
uint16_t compact_size_triple(size_t k size_t m size_t n)
{
return (log2_pot(k) << 8) | (log2_pot(m) << 4) | log2_pot(n);
}
// just a helper to store a triple of KMN sizes for matrix product
struct size_triple_t
{
uint16_t k m n;
size_triple_t() : k(0) m(0) n(0) {}
size_triple_t(size_t _k size_t _m size_t _n) : k(_k) m(_m) n(_n) {}
size_triple_t(const size_triple_t& o) : k(o.k) m(o.m) n(o.n) {}
size_triple_t(uint16_t compact)
{
k = 1 << ((compact & 0xf00) >> 8);
m = 1 << ((compact & 0x0f0) >> 4);
n = 1 << ((compact & 0x00f) >> 0);
}
bool is_cubic() const { return k == m && m == n; }
};
ostream& operator<<(ostream& s const size_triple_t& t)
{
return s << “(“ << t.k << “ “ << t.m << “ “ << t.n << “)“;
}
struct inputfile_entry_t
{
uint16_t product_size;
uint16_t pot_block_size;
size_triple_t nonpot_block_size;
float gflops;
};
struct inputfile_t
{
enum class type_t {
unknown
all_pot_sizes
default_sizes
};
string filename;
vector entries;
type_t type;
inputfile_t(const string& fname)
: filename(fname)
type(type_t::unknown)
{
ifstream stream(filename);
if (!stream.is_open()) {
cerr << “couldn‘t open input file: “ << filename << endl;
exit(1);
}
string line;
while (getline(stream line)) {
if (line.empty()) continue;
if (line.find(“BEGIN MEASUREMENTS ALL POT SIZES“) == 0) {
if (type != type_t::unknown) {
cerr << “Input file “ << filename << “ contains redundant BEGIN MEASUREMENTS lines“;
exit(1);
}
type = type_t::all_pot_sizes;
continue;
}
if (line.find(“BEGIN MEASUREMENTS DEFAULT SIZES“) == 0) {
if (type != type_t::unknown) {
cerr << “Input file “ << filename << “ contains redundant BEGIN MEASUREMENTS lines“;
exit(1);
}
type = type_t::default_sizes;
continue;
}
if (type == type_t::unknown) {
continue;
}
switch(type) {
case type_t::all_pot_sizes: {
unsigned int product_size block_size;
float gf
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 288 2019-04-03 22:02 include\common.h
文件 180 2018-02-16 10:26 include\eigen3\.hgeol
文件 281 2018-02-16 10:26 include\eigen3\.hgignore
文件 1515 2018-02-16 10:26 include\eigen3\.hgtags
文件 28983 2018-02-16 10:26 include\eigen3\bench\analyze-blocking-sizes.cpp
文件 1421 2018-02-16 10:26 include\eigen3\bench\basicbench.cxxlist
文件 1107 2018-02-16 10:26 include\eigen3\bench\basicbenchmark.cpp
文件 1669 2018-02-16 10:26 include\eigen3\bench\basicbenchmark.h
文件 6313 2018-02-16 10:26 include\eigen3\bench\benchBlasGemm.cpp
文件 3534 2018-02-16 10:26 include\eigen3\bench\benchCholesky.cpp
文件 5788 2018-02-16 10:26 include\eigen3\bench\benchEigenSolver.cpp
文件 2806 2018-02-16 10:26 include\eigen3\bench\benchFFT.cpp
文件 3598 2018-02-16 10:26 include\eigen3\bench\benchGeometry.cpp
文件 22259 2018-02-16 10:26 include\eigen3\bench\benchmark-blocking-sizes.cpp
文件 790 2018-02-16 10:26 include\eigen3\bench\benchmark.cpp
文件 835 2018-02-16 10:26 include\eigen3\bench\benchmarkSlice.cpp
文件 640 2018-02-16 10:26 include\eigen3\bench\benchmarkX.cpp
文件 605 2018-02-16 10:26 include\eigen3\bench\benchmarkXcwise.cpp
文件 1209 2018-02-16 10:26 include\eigen3\bench\benchmark_suite
文件 3932 2018-02-16 10:26 include\eigen3\bench\BenchSparseUtil.h
文件 4392 2018-02-16 10:26 include\eigen3\bench\BenchTimer.h
文件 2529 2018-02-16 10:26 include\eigen3\bench\BenchUtil.h
文件 5193 2018-02-16 10:26 include\eigen3\bench\benchVecAdd.cpp
文件 10821 2018-02-16 10:26 include\eigen3\bench\bench_gemm.cpp
文件 618 2018-02-16 10:26 include\eigen3\bench\bench_multi_compilers.sh
文件 11652 2018-02-16 10:26 include\eigen3\bench\bench_norm.cpp
文件 2159 2018-02-16 10:26 include\eigen3\bench\bench_reverse.cpp
文件 320 2018-02-16 10:26 include\eigen3\bench\bench_sum.cpp
文件 651 2018-02-16 10:26 include\eigen3\bench\bench_unrolling
文件 3374 2018-02-16 10:26 include\eigen3\bench\btl\actions\action_aat_product.hh
............此处省略1809个文件信息
相关资源
- 人脸性别识别数据库
- 麦克风阵列语音库
- 性别识别数据库—CAS-PEAL.zip
- 基于opencv的性别识别
- 基于ivector的说话人识别SDK
- 基于I-Vector的说话人识别
- 语音识别说话人识别语音库
- 说话人识别数据集--Spoken Speaker Ident
- 基于深度学习的面部表情和人物性别
- 论文研究-基于DNN处理的鲁棒性I-Vect
- ALIZE说话人识别系统理解.
- 声纹识别方面的优秀论文
- 用于录音 ,适用于语言识别,说话人
- 移动金融基于声纹识别的安全应用技
- SPRO 5.0 用户手册PDF
- 一个声纹识别的全代码包括语音信号
- 基于GMM-SVM的说话人识别系统研究
- 说话人识别完整源码 vs2010
- JRT 0164-2018 移动金融基于声纹识别的安
- 基于高斯混合模型的说话人识别
- 卷神经网络用于声纹识别
- WAV声纹相似度对比dll,可直接调用
评论
共有 条评论