- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 module ‘tensorflow.compat.v1‘ has no attribute ‘contrib‘
1. AttributeError: module ‘tensorflow’ has no attribute ‘placeholder’使用了这篇文章中的解决办法,发现又引入了下列问题。2. AttributeError: module ‘tensorflow.compat.v1’ has no attribute ‘contrib’lstm = tf.contrib.rnn.BasicLSTMCell(lstm_size)drop = tf.contrib.rnn.DropoutWrapper(
2020-10-13 11:07:04
17000
7
原创 SpringBoot 错误
错误1使用Springboot连接mongodb数据库会出现这种错误org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongo' defined in class path resource [org/springframework/boot/autoconfigure/mongo/MongoAutoConfiguration.class]: Bean instantiatio
2020-07-24 15:12:28
2442
1
原创 Android Studio:一个空格导致的错误
错误第一次把android项目代码上传到git上,但是别人拉下来之后,一直报gradle sync failedCould not create parent directory for lock file C:\Program Files\Android\Android Studio\gradle\gradle-3.2\bin\wrapper\dists\gradle-3.3-all\55gk2rcmfc6p2dg9u9ohc3hw9\gradle-3.3-all.zip.lck这种错误stack
2020-07-14 13:40:43
2580
1
原创 adb 连接已经用Magisk root的手机
adb连接已经用Magisk root的手机问题:已经用Magisk Manager获取了root权限,但是使用adb shell进入手机的shell,输入su会报Permission denied的错误。解决:可能是因为第一次询问我没有看到提示,需要手动打开Magisk Manager软件->点击超级用户->点击Shell后的按钮。重新输入su成功。如果不成功可以检查Magi...
2019-08-02 16:49:14
5359
原创 记菜鸟的一次验证码识别
前情提要为了爬取某个网站的数据,需要模拟登录该网站,该网站有个非常简单的验证码,如图所示本来是非常简单的一个验证码使用pytesseract 识别失败使用libsvm识别失败使用tensflow+sklearn识别成功以上识别不成功不是因为库不好用,而是因为水平太低正文1. 环境windows,python版本3.7.0在anconda中,python版本3.5.32....
2018-12-12 13:32:13
719
原创 python引入pytesseract报错:ValueError: Attempted relative import in non-package
python引入pytesseract报错:ValueError: Attempted relative import in non-package问题:想写一个简单的图片识别功能的小程序,安装好pillow和pytesseract两个包后,执行简单的测试程序from PIL import Imageimport pytesseractimage = Image.open(
2018-01-09 17:49:25
3442
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人