- 浏览: 1449226 次
- 性别:
- 来自: 北京
最新评论
-
wahahachuang8:
我喜欢代码简洁易读,服务稳定的推送服务,前段时间研究了一下go ...
websocket的helloworld -
q114687576:
http://www.blue-zero.com/WebSoc ...
websocket的helloworld -
zhaoyanzimm:
感谢您的分享,给我提供了很大的帮助,在使用过程中发现了一个问题 ...
nginx的helloworld模块的helloworld -
haoningabc:
leebyte 写道太NB了,期待早日用上Killinux!么 ...
qemu+emacs+gdb调试内核 -
leebyte:
太NB了,期待早日用上Killinux!
qemu+emacs+gdb调试内核
文章列表
pocketsphinx的helloworld
- 博客分类:
- sip
https://cmusphinx.github.io/wiki/tutorialpocketsphinx/
在https://cmusphinx.github.io/wiki/download/
下载
sphinxbase-5prealpha.tar.gz
pocketsphinx-5prealpha.tar.gz
./autogen.sh
./configure --prefix=/usr/local/sphinxbase
make
make install
./autogen.sh
./configure --prefix=/usr/local/pocketsphi ...
########
客户端mac用yate
ios用 adore sip client
############### asr
vim modules.con
asr_tts/mod_pocketsphinx
make mod_pocketsphinx-install
freeswitch/etc/freeswitch/autoload_configs/modules.conf.xml
<!-- ASR /TTS -->
<load module="mod_flite"/>
<load module=&quo ...
sdl教程教程
https://github.com/Twinklebear/TwinklebearDev-Lessons
asm.js的教程
https://github.com/3dgen/cppwasm-book
入门
http://www.ruanyifeng.com/blog/2017/09/asmjs_emscripten.html
#######
vim格式化:
1,gg 跳转到第一行
2,shift+v 转到可视模式
3,shift+g 全选
4,按下神奇的 =
centos7安装
yum install SDL SDL-devel SDL-static -y
he ...
参考https://bellard.org/jslinux/tech.html
使用的asm.js的emscripten 把tinyemu用js加载,tinyemu支持x86和精简指令集
https://bellard.org/tinyemu/tinyemu-2018-09-23.tar.gz
安装到/usr/local/bin/temu
精简指令集
https://bellard.org/tinyemu/diskimage-linux-riscv-2018-09-23.tar.gz
temu root-riscv64.cfg
运行成功
cat root-riscv64.cfg
/* ...
tapper.c
#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
#include <linux/if.h>
#include <linux/if_tun.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/select.h>
#inc ...
转载
http://www.cnblogs.com/wlei/archive/2012/12/15/2819429.html
在实际工作中碰到一个问题:设备有两个网口,当把这两个网口桥接到br0上时,之后如果设置了mac地址,就会发现数据包不能正常收发。
如下是相关解释
--------------------------------------------------------------------
转自(http://blog.csdn.net/fanwenbo/article/details/2131193)
先说现象
brctl addbr br0
ifconfig ...
2019年12月26日
可以参考原来的配置
https://haoningabc.iteye.com/blog/2147783
有点太乱了,重新整理,客户端的配置可以参考上面的
aws申请免费vm搭建自己的呵呵哒
最后有个关键操作
iptables -t nat -A POSTROUTING -s 172.31.39.0/24 -o eth0 -j MASQUERADE
如果自己vm的内网ip是172.31.39.123
在aws的redhat7.6上
参考
#######https://blog.csdn.net/kitvv/article/details/506965 ...
lstm https://www.jianshu.com/p/9dc9f41f0b29
决定什么值我们将要更新
丢弃掉我们确定需要丢弃的信息
神经网络基础
http://www.cnblogs.com/maybe2030/p/5597716.html
梯度下降和反向传播 https://www.cnblogs.com/softzrp/p/6718909.html
梯度下降 求偏导
反向传播 链式法则
反向传播 http://www.cnblogs.com/charlotte77/p/5629865.html
链式求导
若h(x)=f(g(x)),则h'(x)=f'(g(x))g ...
https://github.com/killinux/tensorflowbook
学习《tensorflow for machine intelligence》
在mac下使用matplotlib 可能会遇到问题
在环境上安装matplotlib
画图参考
https://blog.csdn.net/qq_34337272/article/details/79555544
conda install -n tensorenv matplotlib
参考
https://jingyan.baidu.com/article/eb9f7b6d4a1365869364e839.html
...
线性回归处理 wx+b的线性问题
对数几率回归处理 yes 和no的问题
softmax处理分类问题
《tensorflow for machine intelligence》
《面向机器智能tensorflow实践》 的源码:
https://github.com/backstopmedia/tensorflowbook
# Linear regression example in TF.
import tensorflow as tf
W = tf.Variable(tf.zeros([2, 1]), name="weights")
b = tf ...
《tensorflow机器学习实战指南》的源码
https://github.com/nfmcclure/tensorflow_cookbook
全都是.ipynb 文件
pip install --upgrade pip
pip install jupyter notebook
jupyter notebook
参考官方文档
https://www.tensorflow.org/programmers_guide/saved_model?hl=zh-cn
save把变量都存下来
savetest.py
import tensorflow as tf
import os
...
基本的
virtualenv tensorenv
source bin/activate
pip install --upgrade tensorflow
python
>>> import tensorflow as tf
>>> hello = tf.constant('hello TensorFlow!')
>>> sess = tf.Session()
>>> print sess.run(hello)
hello TensorFlow!
tensorenv/lib/python ...
这个需要注意
https://stackoverflow.com/questions/7580508/getting-chrome-to-accept-self-signed-localhost-certificate
先测试ios上的wss的websocket是否好使,否则会报错
iphone连接mac后,可以在mac上的safri上调试ios的safri,这个很重要
https://www.cnblogs.com/rglmuselily/p/7047814.html
测试websocket的代码
<!DOCTYPE html PUBLIC "-//W3C//DTD HT ...
git https://github.com/baidu/unit-dmkit
百度官方地址
https://ai.baidu.com/unit/v2#/sceneliblist
权限验证和token获取:
http://ai.baidu.com/docs#/Auth/top
api key 和secret key的位置
https://console.bce.baidu.com/ai/#/ai/speech/app/detail~appId=445859
错误码
http://aixiaoshuai.mydoc.io/
curl -i -k 'https://aip.baidubce. ...
装emacs25以上可以装spacemacs
目前在mac上装emacs26.1
使用spacemacs的时候会有melpa.org访问慢或者访问不了的问题
使用国内代理
https://mirrors.tuna.tsinghua.edu.cn/help/elpa/
装好emacs26之后安装spacemacs
cd ~
git clone https://github.com/syl20bnr/spacemacs .emacs.d
修改
vim .emacs.d/core/templates/.spacemacs.template
(defun dotspacemac ...