自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

原创 No appenders could be found for logger [IntelliJ IDEA]

网上看了很多说在source文件夹下加一个log4j.properties其实准确说应该在resources目录下加在IDEA中,可以加一个文件夹放log4j.properties,并在这个文件夹右键-选择Mark Directory as - Resoures Rootlog4j.rootLogger=INFO, Console, DEBUG log4j.appender.Con...

2019-07-25 15:52:28 1028

转载 [tensorflow]softmax_cross_entropy_with_logits 及其···v2 和 sparse_softmax_cross_entropy_with_logits 异同

1、共同点三者功能都是先计算输入 logits 的 softmax 分类,再计算与输入 labels 之间的交叉熵,最终返回的交叉熵结果相同2、不同点(1)softmax_cross_entropy_with_logits已经弃用,相同功能被 softmax_cross_entropy_with_logits_v2 取代(2)softmax_cross_entropy_with...

2019-07-13 12:21:11 211

转载 git push 死机

http://www.voidcn.com/article/p-xfvcbxhp-bsq.html# 禁用多线程压缩,节省内存,后两条不知道有没有用git config pack.threads 1git config pack.windowMemory 50mgit config pack.deltaCacheSize 128m...

2019-07-12 22:47:45 389

原创 NLP 资源

https://github.com/hanxiaoSome frequently used NLP blocks I implemented Bert-service Mapping a variable-length sentence to a fixed-length vector using BERT modelhttps://kyzhou.bitcron.com/archive...

2019-07-12 21:22:20 162

原创 [tensorflow] placeholder、 Variable、Tensor的 reuse、get_by_name问题以及不同

https://cloud.tencent.com/developer/ask/142809/answer/250540你可以通过在名称后添加“/”来强制重用范围,即: tf.variable_scope("foo/", reuse=True):但是,这不会解决你的问题。在变量的情况下,调用tf.Variable将始终创建一个新变量,而调用tf.get_variable将重用它但是...

2019-07-11 19:13:17 481

转载 python学习之argparse模块

https://blog.csdn.net/chengxuyuanyonghu/article/details/59716405

2019-07-10 17:54:09 297

原创 [tensorflow] load restore 网络结构、参数

【tensorflow】保存模型、再次加载模型等操作https://blog.csdn.net/liuxiao214/article/details/79048136(原)tensorflow保存模型及载入保存的模型https://www.cnblogs.com/darkknightzh/p/7198773.html【tensorflow】tf.train.get_checkpo...

2019-07-10 16:23:03 522

原创 python 2文本处理

首先推荐一篇文章 《Python2字符编码问题汇总》https://www.cnblogs.com/pyxiaomangshe/p/7837380.html在 Python 里,有三大类 string 类型,unicode(text string),str(byte string,二进制数据),basestring,是前两者的父类。bert 源码 tokenization.py 中有一...

2019-07-07 10:23:58 561

原创 [tensorflow高级API使用] Dataset

https://tensorflow.google.cn/guide/datasets#consuming_numpy_arrayshttps://blog.csdn.net/weixin_42806169/article/details/89764602https://blog.csdn.net/qq_16234613/article/details/81703228上篇的总结(ht...

2019-07-06 13:23:49 225

原创 tensorflow 栈式双向RNN的生成

https://www.cnblogs.com/silence-tommy/p/8058333.htmltf.reverse 或 tf.reverse_sequence具体可看tf.nn.bidirectional_dynamic_rnn()源码实现with vs.variable_scope(scope or "bidirectional_rnn"): # Forward di...

2019-07-06 10:36:45 329

原创 [算法竞赛入门经典]UVa 1471 Defense Lines 详细注解 P377

题目context真傻逼欸,还有拆塔加强防御的https://cn.vjudge.net/problem/UVA-1471O(nlogn)// https://github.com/aoapc-book/aoapc-bac2nd/blob/master/ch8/UVa1471.cpp// UVa1471 Defense Lines// Rujia Liu// Algorit...

2019-07-05 22:40:11 346

原创 [算法竞赛入门经典] 数据规模与算法复杂度

P351

2019-07-05 21:46:07 320

原创 ConfigParser基本使用

综合了几篇文章https://www.jianshu.com/p/4f50ce352b2fhttps://www.cnblogs.com/shellshell/p/6947049.htmlhttps://blog.csdn.net/weixin_42174361/article/details/82873878configparser和ConfigParser在python中...

2019-07-05 14:45:44 927

原创 [Orange'S:一个操作系统的实现]常用命令

dd if=boot.bin of=a.img bs=512 count=1 conv=notruncdd if=pmtest1.bin of=a.img bs=512 count=1 conv=notrunc

2019-07-03 16:02:10 388

原创 [Orange'S:一个操作系统的实现]bochs下安装freedos

// 加了图在进行保护模式的运行环境配置前,先看了了下书上的代码,编译运行结果如下:nasm 3_pmtest1.asm -o pmtest1.bin,可以看到界面出现了红色的 p 字保护模式环境配置1:在网站http://bochs.sourceforge.net/guestos/freedos-img.tar.gz上下载FreeDos,...

2019-07-03 16:01:03 2811 1

转载 [自己动手写操作系统] bochs配置过程中的问题

https://blog.csdn.net/xiaoheiyohehe/article/details/19034541

2019-07-02 21:46:49 299

原创 [Orange'S:一个操作系统的实现] db dw 字符串

db定义字节类型变量,一个字节数据占1个字节单元,读完一个,偏移量加1dw定义字类型变量,一个字数据占2个字节单元,读完一个,偏移量加2dd定义双字类型变量,一个双字数据占4个字节单元,读完一个,偏移量加4https://blog.csdn.net/weixin_42553435/article/details/80919722DWORD全称Double Word,DWORD ...

2019-07-02 18:39:31 212

转载 sklearn: TfidfVectorizer 中文处理及一些使用参数

https://blog.csdn.net/blmoistawinde/article/details/80816179

2019-07-01 15:58:20 467

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除