会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2019年5月24日
rcnn 文本分类代码
摘要: 以上代码从https://github.com/roomylee/rcnn-text-classification/blob/master/rcnn.py 拷贝过来的。 rcnn的模型可参考我的博客园里的文件:Rcnn.pdf.zip,模型如下图:
阅读全文
posted @ 2019-05-24 17:43 大老虎🐯
阅读(431)
评论(0)
推荐(0)
编辑
2019年5月8日
learning flask api
摘要: 一:get 请求 client.py代码: server.py代码: 二:post 请求 client.py代码: server.py代码: 注:以上2个client.py拿到的res是一个响应对象。res.content 得到字节方式的响应体,还可以用res.text得到字符串方式的响应体,res
阅读全文
posted @ 2019-05-08 11:45 大老虎🐯
阅读(154)
评论(0)
推荐(0)
编辑
2019年5月7日
learning rabbitmq
摘要: rabbitmq代码和解释见英文官方文档和翻译版中文官方文档。中文官方文档的代码有错误,所以代码以英文官方文档为主。 英文官方文档地址:https://www.rabbitmq.com/tutorials/tutorial-one-python.html 中文官方文档地址:http://rabbit
阅读全文
posted @ 2019-05-07 16:46 大老虎🐯
阅读(214)
评论(0)
推荐(0)
编辑
learning hmm
摘要: 李航的统计学习方法里有hmm的例子。由于该书没有后向算法的例子,可通过https://blog.csdn.net/zb1165048017/article/details/48577891找到后向算法的例子。 hmm的实现代码见:https://applenob.github.io/hmm.html
阅读全文
posted @ 2019-05-07 16:26 大老虎🐯
阅读(131)
评论(0)
推荐(0)
编辑
learning lstm+crf
摘要: 实现代码在https://pytorch.org/tutorials/beginner/nlp/advanced_tutorial.html#sphx-glr-beginner-nlp-advanced-tutorial-py里。代码里对重要函数的解释见笔记。以下链接用通俗易懂的中文解释了原理: h
阅读全文
posted @ 2019-05-07 16:21 大老虎🐯
阅读(137)
评论(0)
推荐(0)
编辑
learning grpc
摘要: helloworld.proto代码如下: 解释:定义了一个Greeter的服务,会跟下面的server.py里面的class类名同名。sayhello是整个消息来回过程中client要调用的定义在server端的函数名。HelloRequest是client发送给server消息时用的函数。把需要
阅读全文
posted @ 2019-05-07 16:16 大老虎🐯
阅读(124)
评论(0)
推荐(0)
编辑
上一页
1
2