Butertfly
码龄8年
关注
提问 私信
  • 博客:40,873
    40,873
    总访问量
  • 11
    原创
  • 530,871
    排名
  • 22
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:上海市
  • 加入CSDN时间: 2016-07-11
博客简介:

Butertfly的博客

查看详细资料
个人成就
  • 获得14次点赞
  • 内容获得25次评论
  • 获得92次收藏
创作历程
  • 16篇
    2018年
成就勋章
TA的专栏
  • 人工智能
    13篇
  • Linux
    2篇
  • 语音
创作活动更多

AI大模型如何赋能电商行业,引领变革?

如何使用AI技术实现购物推荐、会员分类、商品定价等方面的创新应用?如何运用AI技术提高电商平台的销售效率和用户体验呢?欢迎分享您的看法

175人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

谱减法降噪(python实现)

#!/usr/bin/env pythonimport numpy as npimport waveimport mathimport ctypes as ctclass FloatBits(ct.Structure): _fields_ = [ ('M', ct.c_uint, 23), ('E', ct.c_uint, 8), ...
原创
发布博客 2018.11.21 ·
3131 阅读 ·
2 点赞 ·
8 评论 ·
23 收藏

非极大抑制(Non-maximum suppression)python代码实现

定位一个物体,最后算法就找出了一堆的方框,我们需要判别哪些矩形框是没用的。非极大值抑制:先假设有6个矩形框,根据分类器类别分类概率做排序,从大到小分别属于物体的概率分别为A、B、C、D、E、F。(1)从最大概率矩形框F开始,分别判断B~F与A的重叠度IOU是否大于某个设定的阈值;(2)假设B、D与F的重叠度超过阈值,那么就扔掉B、D;并标记第一个矩形框A,是我们保留下来的。(3)从剩下...
原创
发布博客 2018.11.20 ·
1129 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

keras自定以Layer层

from keras import backend as Kfrom keras.models import Modelfrom keras.layers import Layerin_a = Input(shape=(96, 96, 3))in_p = Input(shape=(96, 96, 3))in_n = Input(shape=(96, 96, 3))emb_a = ...
原创
发布博客 2018.10.11 ·
1189 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ffmpeg的使用

ffmpeg获取音频文件时长ffmpeg -i fffc4e3f19774fcdbee2d5d8593900c6.wav 2>&1 | grep 'Duration' | cut -d ' ' -f 4 | sed s/,//                  参考:1.http://linux.51...
原创
发布博客 2018.09.07 ·
244 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

CentOS7添加/删除用户和用户组

1.新建用户 adduser testuser //新建testuser 用户 passwd testuser //给testuser 用户设置密码2.建工作组 groupadd testgroup //新建test工作组3.新建用户同时增加工作组 useradd -g testgroup testuser //新建testuser用户并增加到testgroup工作组//注::...
转载
发布博客 2018.08.01 ·
791 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

CentOS7使用firewalld打开关闭防火墙与端口

1、firewalld的基本使用启动: systemctl start firewalld关闭: systemctl stop firewalld查看状态: systemctl status firewalld 开机禁用  : systemctl disable firewalld开机启用  : systemctl enable firewalld  2.syste...
转载
发布博客 2018.08.01 ·
180 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

利用线程池+回调+百度语音识别来批量实现语音识别

#!/usr/bin/python3# -*- coding: utf-8 -*-from aip import AipSpeechimport osimport sysfrom concurrent.futures import ThreadPoolExecutorimport shutil""" 你的 APPID AK SK """APP_ID = 'xxx'API_K...
原创
发布博客 2018.07.31 ·
536 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Linux相关问题

问题1:[root@localhost ~]# service mysqld startRedirecting to /bin/systemctl start mysqld.serviceJob for mysqld.service failed because the control process exited with error code. See "systemctl statu...
原创
发布博客 2018.07.31 ·
246 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ValueError: Tensor Tensor xxx is not an element of of this graph的解决方案

问题:在利用keras+flask构建一个简单的深度学习后台服务器,遇到了如下的问题:ValueError: Tensor Tensor("fc1000/Softmax:0", shape=(?, 1000), dtype=float32) is not an element of this graph。 解决方案如下:在初始化的时候,加载模型文件和生成graph。 完...
原创
发布博客 2018.07.30 ·
6583 阅读 ·
1 点赞 ·
5 评论 ·
5 收藏

keras训练模型生成pb文件(java调用、python调用)

from __future__ import print_functionimport kerasfrom keras.datasets import mnistfrom keras.models import Sequentialfrom keras.layers import Dense, Dropout, Flattenfrom keras.layers import Conv2...
原创
发布博客 2018.07.07 ·
8169 阅读 ·
5 点赞 ·
4 评论 ·
31 收藏

Ubuntu 18.04 深度学习环境搭建

Ubuntu 镜像源修改sudo cp /etc/apt/sources.list /etc/apt/sources.list.baksudo vim /etc/apt/sources.listdeb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse#deb-src http://mirrors...
原创
发布博客 2018.05.17 ·
4132 阅读 ·
0 点赞 ·
0 评论 ·
10 收藏

Generative Adversarial Nets(译)

仅供参考,如有翻译不到位的地方敬请指出。论文地址:Generative Adversarial Nets 论文翻译:XlyPb(http://blog.csdn.net/wspba/article/details/54577236)摘要我们提出了一个通过对抗过程估计生成模型的新框架,在新框架中我们同时训练两个模型:一个用来捕获数据分布的生成模型G,和一个用来估计样本来自训练数据而不是G的概率的判别...
转载
发布博客 2018.04.26 ·
268 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

使用keras训练一个区分不同人声音的模型

随着tensorflow,keras,tflearn,mxnet这种深度学习库的完善,深度学习的门槛降低,很多之前很难的领域都开始对小白开放,比如语音领域,在深度学习火起来之前,语音识别和图像识别这种领域,没有很深的基本功和领域知识,根本不可能踏足,但是时代已经变了…所以,我在某个项目中遇到了这样一个问题:给出一些电话录音,一方是客服人员,另一方是消费者,想要知道哪句话是谁说的,并且想要知道客服的...
转载
发布博客 2018.03.27 ·
5261 阅读 ·
1 点赞 ·
4 评论 ·
25 收藏

利用神经网络进行音频数据分类

IntroductionWhen you get started with data science, you start simple. You go through simple projects like Loan Prediction problem or Big Mart Sales Prediction. These problems have structured data arra...
转载
发布博客 2018.03.27 ·
7164 阅读 ·
4 点赞 ·
4 评论 ·
25 收藏

Ubuntu 16.04 神经网络环境搭建

Ubuntu远程ssh登陆sudo apt-get install openssh-server修改pip国内源mkdir ~/.pipvim pip.conf[global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple[install]trusted-host=mirrors.aliyun.com安装anacondawget https...
原创
发布博客 2018.03.27 ·
1423 阅读 ·
1 点赞 ·
0 评论 ·
3 收藏

pandas之透视(pivot)数据功能

问题:        对A列和B列进行分组,然后在C列上进行透视操作并对D列数据进行求和实现功能如下:实现方式:        pivot_table(df, values=’D’, index=[‘A’, ‘B’], columns=[‘C’], aggfunc=np.sum)...
原创
发布博客 2018.03.27 ·
411 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多