Ivan

个人博客

[深度学习] Voiceprint Recognition Project

声纹识别项目

完整项目地址:https://github.com/ivanwhaf/voiceprint Voiceprint recognition projectArchitecture.wav/.npy->cut->fbank->resnet->embeddings training:amsofttest/eval:cosine socre EER Usage 1.Train clean baselinepython train.py2.Inference scorepython inference.py3.Retrainpython train_sort.py Experiment Record ......

[Docker] CentOS7安装Docker及使用

安装安装yum-utilsyum install -y yum-utils device-mapper-persistent-data lvm2 配置源$ yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 安装docker$ yum install docker-ce docker-ce-cli containerd.io 查看版本$ docker version 使用启动$ systemctl start docker 停止$ systemctl stop......

[Github] Github ssh配置

流程 本地生成rsa key: ssh-keygen -t rsa -C "xxx@xxx.com" -t 密钥类型 默认rsa-C 注释文字-f 文件存储名 Github Settings添加ssh key,复制本地~/.ssh/id_ras.pub 测试:ssh -T git@github.com 绑定远程库并上传:git remote add origin git@github.com:xxx/xxx.git...git push -u origin master ......

[机器学习] 信息量、熵、交叉熵、KL散度,互信息

信息量I(x)=−logp(x) I(x) = - \log p(x)I(x)=−logp(x) 事件发生概率越低,信息量越大 熵H(X)=−∑p(x)logp(x) H(X)=-\sum p(x) \log p(x)H(X)=−∑p(x)logp(x) 熵是在结果出来之前对可能产生的信息量求期望-考虑该随机变量的所有可能取值描述随机变量不确定程度,熵越大,信息量越大 交叉熵H(p∣q)=−∑p(x)logq(x) H(p|q)=-\sum p(x) \log q(x)H(p∣q)=−∑p(x)logq(x) p为gt,q为预测分布 KL散度(相对熵)DKL(p∣∣q)=∑p(x)......

[MySQL] MySQL备份与还原

备份单数据库mysqldump -u root -p dbname table1 table2 > backup.sql tabel1 table2 缺省则为备份整个数据库 多数据库mysqldump -u root -p --databases dbname1 dbname2 > backup.sql全部数据库mysqldump -u root -p -all-databases > backup.sql还原mysql -u root -p dbname < backup.sql 当出现ERROR at line : Unknown command ‘\’’错误,是由字符集编码导致的,加上–......

[JavaScript] Editor.md 图片复制粘贴拖拽js插件

IntroductionEditor.md富文本编辑器没有自带复制粘贴图片的功能,自己手写了个,支持复制粘贴、拖拽的方式插入编辑器中;并自动上传图片至博客后台的图床,省去了手动上传的麻烦。代码如下: function initPasteDragImg(Editor){ var doc = document.getElementById(Editor.id) doc.addEventListener('paste', function (event) { var items = (event.clipboardData || window.clipboa......

[C++] OpenGL Demo

opengl, glut

opengl-icgThis repo is an opengl demo of Intelligent Computer Graphics course.This scene contains five objects and corresponding operations, including scaling, rotating, and moving.项目地址:https://github.com/ivanwhaf/opengl-icg Usage run OpenGLDemo.exe directlysee readme.txt for more operation details ......

[机器学习] 自动驾驶AI小车

基于遗传算法优化神经网络

genetic-carSelf-learning car using genetic algorithm项目完整地址:genetic-car UsagePlease run manual version, do not run auto version, it has not been implemented! 1. Run program$ python genetic_car_manual.py 2. Select elites manuallyAfter each round, just click the blue cars who have Best performance, and......

[深度学习] Yolov1-pytorch

yolov1-pytorchThis repo is a pytorch implementation of yolov1.项目完整链接:yolov1-pytorch Deep Learning based yolov1 object detector, using Pytorch deep learning frameworkThis project can be also transplanted to other edge platforms like Raspberry PiPaper: https://arxiv.org/pdf/1506.02640.pdf DemoRun in ......

[软件安装] MySQL配置踩坑

重置密码vim /etc/my.cnf 加上一条: --skip-grant-tables保存并退出 mysql -u -p 直接敲回车不用密码直接进入 use mysqlupdate user set authentication_string=password('root') where user='root'; 修改root默认密码 外网访问1.配置防火墙,3306端口2.给mysql用户授权外网访问权限mysql -u root -pselect user,host from user;update user set host='%' where user='root'grant al......