今天打算用keras-bert来进行文本分类,linux系统没啥问题,但是windows系统下用pycharm报以下错误 ImportError: cannot import name 'Tokenizer' from 'keras_bert' 网上很多都是说更新kerast-bert pip in ...
分类:
其他好文 时间:
2020-07-30 14:35:44
阅读次数:
128
Failed to deploy 'Compose: docker': com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "C:\Program Files\Docker\Docker\reso ...
leftAdd0(){ var value=this.form.inputNum; var inputNum=this.form.inputNum.replace(/\s+/g,'') var reg=/^[\d\s]+$/; if(!reg.test(value) && inputNum){ th ...
分类:
其他好文 时间:
2020-07-28 17:27:01
阅读次数:
80
引起这个报错,有两种可能 一、oracle客户端配置不对 cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client错误解决方法。 1、没有配置环境变量,将instantclient客户端解压后,添加到path中 2 ...
分类:
数据库 时间:
2020-07-28 17:14:12
阅读次数:
103
前端直接截取字符串 背景 在实际开发过程中,我们有可能会遇到需要展示数据库字段,但是当字段的内容比较长的时候就有可能出现前端样式的失样的效果: 解决: <td> <span id="email" th:text="${notice.content}" style="display: block;wh ...
分类:
其他好文 时间:
2020-07-27 16:01:19
阅读次数:
83
客户端连接异常: Exception in thread "main" java.net.ConnectException: Connection refused: connect at sun.nio.ch.Net.connect0(Native Method) at sun.nio.ch.Net ...
分类:
编程语言 时间:
2020-07-27 15:53:46
阅读次数:
88
FridaHook框架学习(2) 前言 学习过程参考https://bbs.pediy.com/thread-227233.htm。 逆向分析 安装并运行例子程序,可以看到这个例子是一个验证注册码的程序。 使用jadx解析这个APK。 通过类名以及AndroidManifest可以猜测以及知道Lau ...
分类:
其他好文 时间:
2020-07-27 15:36:14
阅读次数:
71
##题面 Problem Description There are n cities and m bidirectional roads in Byteland. These cities are labeled by 1,2,…,n, the brightness of the i-th cit ...
分类:
其他好文 时间:
2020-07-27 09:21:33
阅读次数:
88
版本错误 处理方式 修改scipy的本文为 1.1.0 :pip install scipy==1.1.0 ...
分类:
其他好文 时间:
2020-07-26 22:54:48
阅读次数:
70
1.let <script> //1.声明变量 let a; let b,c,d; let e =100; let f=521,g='iloveyou',h=[]; //2.let变量不能重复定义 例 // let peope = 'bill' // let peope = 'jom' //会报错: ...
分类:
其他好文 时间:
2020-07-26 19:49:20
阅读次数:
86