
AI
Edward201804
这个作者很懒,什么都没留下…
展开
-
Ubuntu 18.04使用pytorch跑SSD+Mobilenet V2
pip3 install torchpip3 install --no-deps torchvision原创 2020-03-02 17:01:08 · 1935 阅读 · 9 评论 -
动态库调用snd_pcm_hw_params_get_rate失败
问题自己做了一个动态库,调用snd_pcm_hw_params_get_rate,返回总是0,但是其实是配置成功的。通过gdb发现当动态链接时,调用堆栈如下Breakpoint 1, init () at test.c:104104 snd_pcm_hw_params_get_rate(params, &actualSampleRate, NULL);(g...原创 2019-12-25 19:26:24 · 3142 阅读 · 0 评论 -
python在线合成并播放语音
from playsound import playsoundfrom aip import AipSpeech""" 百度APPID AK SK """APP_ID = '16881670'API_KEY = '8FwqrzKk0EAZUWdSol8WHT0p'SECRET_KEY = 'KhIXWDLGISiWLi2XC2VPt4aX5pHCbWOw'client = Aip...原创 2019-12-12 17:47:21 · 1571 阅读 · 0 评论 -
Pytorch使用本地图片实现mnist
一、下载图片解压即可链接:https://pan.baidu.com/s/146E7BKbQzHO1q0r5x35Dgg提取码:bczs二、代码实现原始代码路径:https://github.com/pytorch/examples/tree/master/mnist,只要稍作修改即可,因为图片是RGB的,所以有2种方案方案 1、直接使用RGB(修改如下代码)1. 将cha...原创 2020-02-07 20:36:00 · 819 阅读 · 0 评论 -
Anaconda下Pytorch环境搭建
删除defaults通道,增加清华的镜像 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/...原创 2020-02-06 21:33:27 · 596 阅读 · 0 评论 -
Anaconda下Tensorflow环境搭建
新建tensorflow运行环境打开anaconda navigator——>Environments——>Create,按下图安装tensorflow 2.0运行jupyter按下图安装jupyter按下图运行运行spyder(可以调试,感觉比Jupyter好用。。。)按下图安装spyder,我这个是安装好的,安装之后可以升级成4.0.1...原创 2020-02-03 12:07:17 · 340 阅读 · 0 评论 -
机器学习入门
一、学习台湾大学李宏毅教授的《机器学习》课程https://www.bilibili.com/video/av10590361二、调试 打印网络结构 先安装torchsummary工具,pip.exe install torchsummary from torchsummary import summarymodel = VGG('VGG11').to(device)...原创 2020-01-21 16:32:24 · 173 阅读 · 0 评论