
【纠错】
各种错误纠正
luxury.
这个作者很懒,什么都没留下…
展开
-
【纠错】TensorFlow报错FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated......
使用TensorFlow时报错FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy…报错原因:numpy1-17-0版本过高,使用numpy-1.16-0版本即可解决方法:重新安装numpy-1.16-0FutureW...转载 2020-04-08 23:52:19 · 394 阅读 · 1 评论 -
【纠错+笔记】深度学习tensorflow的各种坑(Anaconda)
1、安装Anaconda2、创建一个tensorflow环境3、在环境中pip install tensorflow /tensorflow-gpu1)如果你用gpu,那么你将会安装cudnn和cuda。但先别急,安装完tensorflow再说。2)这里安装完成tensorflow后,你可以import试试,若没任何提示,恭喜你,后面不用看了。3)若有提示,继续看下去:4、接...原创 2020-04-03 10:23:59 · 180 阅读 · 0 评论 -
【纠错】nginx “403 Forbidden” 错误的原因及解决办法
nginx 的 403 Forbidden errors 表示你在请求一个资源文件但是nginx不允许你查看。1.网站禁止特定的用户访问所有内容,例:网站屏蔽某个ip访问。2.访问禁止目录浏览的目录,例:设置autoindex off后访问目录。3.用户访问只能被内网访问的文件。以上几种常见的需要返回 403 Forbidden 的场景。由于服务器端的错误配置导致在不希望ng...原创 2020-03-17 14:45:06 · 444 阅读 · 0 评论 -
【纠错】Vue应用IView中,table中使用Poptip被遮挡显示不全
错误效果原代码:<poptip confirm title="确定删除?" @on-ok="ok(row)" @on-cancel="" style="left:-100px" > <Button type="error" size="small" >删除</Button></poptip>官方API:transfer...原创 2020-03-16 11:07:34 · 1189 阅读 · 0 评论 -
【纠错】前后端跨域失败:No 'Access-Control-Allow-Origin' header is present on the requested resource
MyBatis+vue+Springmvc框架跨域请求失败错误:此处为改写后端,增加配置文件:package_config:CroConfig.javapackage com.wch.config;import org.springframework.context.annotation.Configuration;import org.springframework.web.s...原创 2020-03-14 19:20:27 · 239 阅读 · 0 评论 -
【纠错】Vue错误:Invalid prop: type check failed for prop "data".
这个错误后面还有内容:两种错误原因一致,都是因为期望得到数组形式的数据,没有返回。打开下拉框,在错误日志中找出带有.vue的错误:显示在FindBookById.vue中,点击进入至此,找出错误原因,resp.data 返回类型与_this.books 接受类型不一致。解决:将resp.data 处理成数组 let book = [resp.data] ...原创 2020-03-14 11:23:17 · 4462 阅读 · 0 评论 -
【纠错】Vue+SpringBoot中axios发送数据后端为null的两种分析
本人小白,有错误后期再改框架:Vue+SpringBoot+Mybatis一、post方式会提交json字符串,在前后端数据交换出问题1.后端解决方法:接收参数时添加@RequestBody转换为java对象Handle.java @PostMapping("/save") public void save(@RequestBody Book book){ boo...原创 2020-03-13 22:37:57 · 3075 阅读 · 1 评论 -
【纠错】Sublime text 3 中 install Package Control报错:There are no packages available for installation的解决办法
本文前提已安装好Package Control.sublime-packagePackage Control.sublime-package:1.点击Preferences > Browse Packages菜单2.进入打开的目录的上层目录,然后再进入Installed Packages/目录3.下载Package Control.sublime-package并复制到Install...原创 2019-03-21 20:59:10 · 267 阅读 · 1 评论 -
【纠错】You must configure either the server or JDBC driver
本人错误:The server time zone value ‘XXXXXX’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to ...原创 2019-03-02 09:14:33 · 576 阅读 · 0 评论