- 博客(7)
- 收藏
- 关注
原创 VScode remote connection error: The process tried to write to a nonexistent pipe
VScode remote connection error: The process tried to write to a nonexistent pipe点击齿轮 --》 Extensions Settings --》 在remote SSH Path中添加OpenSSH的路径Config File中添加config的路径
2021-01-04 15:10:03 1697
原创 向泛型算法传递参数
向泛型算法传递函数可以是:静态类成员函数 非类成员函数(在类之外定义的函数) lambda函数1. 静态类成员:头文件:class PrintMinNumber{ public: PrintMinNumber(); virtual ~PrintMinNumber(); string solution(vector<...
2020-01-14 10:00:05 364
原创 STL中的set 和 multiset
在STL中,set和multiset都是关联容器,内部元素是有序的,内部实现基于红黑树。红黑树通过把节点分为红黑两个颜色并根据一些规则确保树在一定程度上是平衡的,从而确保在红黑树中查找,删除,插入都只需要O(logn)时间。set和multiset的区别是multiset中的元素是可以重复的。1. 内部元素顺序可以自定义。multiset中元素默认是升序排列的,声明如multiset...
2020-01-07 17:55:44 284
原创 pyhton 中re的match, search,findall,finditer的用法
1.re.matchre.match(pattern, string)从字符串的开头开始匹配,如果string包含字符串patten,则匹配成功,返回SRE_Match对象,否则返回None。可以理解为:如果string不是以patten开头的则返回None。2. re.searchre.search(pattern, string)如果string中包含patten子...
2018-12-19 16:52:59 327
原创 pycharm配置gitHub并上传代码
步骤:下载并安装git 在pycharm中配置git 新建项目编码并上传1. 下载并安装git下载地址:https://git-scm.com/downloads安装请参照:https://blog.csdn.net/architect_csdn/article/details/79868568 2. 在pycharm中配置gitgit安装成功后就可以在py...
2018-08-08 16:04:50 987
原创 pycharm插件的安装(以IdeaVim 和 Markdown support 为例)
pycharm 安装插件的方法主要有两种:1. file --> settings --> plugins --> Install JetBrains plugins... --> 搜索要安装的插件,点击安装2. file --> settings --> plugins -->Install plugins from disk.. --> ...
2018-07-31 15:54:38 4669 1
原创 Keras+Django多次load model报错
新人第一更。最近在想做一个深度学习框架,TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor(“Placeholde r:0”, shape=(40001,50), dtype=float32) is not an element of this graph....
2018-07-07 19:39:09 1634 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人