![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 71
is___oneself
这个作者很懒,什么都没留下…
展开
-
升级TensorFlow 2后出现 TypeError: Input ‘y‘ of ‘Mul‘ Op has type float32 that does not match type int3
最近我在github上下载了别人的深度学习算法,但是在我的tf2环境中出现了如上错误。 我的环境: python3.6 + tensorflow 2.3.0 + keras 2.4.3 实际中采用了tensorflow.keras,不需要额外安装keras 结论: 我尝试了下面两种方法,均可以解决: 倒回版本 使x与y数据类型一致 Ⅰ 倒回版本 新环境: python3.6 + tensorflow 1.15.0 + keras 2.4.0 该环境下能够正常运行,但是与我CUDA版本(10.1)不匹配 Ⅱ转载 2021-12-13 20:22:19 · 1520 阅读 · 0 评论 -
linux 安装anaconda3 创建虚环境 tensorflow安装 pycharm远程连接
文章目录1. anaconda3软件包下载1.1 windows下载1.2 linux下载2. anaconda3安装3. anaconda3虚拟环境管理4. tensorflow安装3.1 tensorflow1.15安装(tensorflow2安装同理)5. anaconda3镜像源管理6. anaconda3卸载7. pycharm连接远程linux服务器中的python环境 1. anaconda3软件包下载 1.1 windows下载 先通过windows下载,在通过winscp等软件传到linu原创 2021-10-29 17:31:10 · 661 阅读 · 0 评论 -
python+BeautifulSoup文档遍历树子节点
文档遍历树:html_doc = """ <html><head><title>The Dormouse's story</title></head><p class="title"><b>The Dormouse's story</b></p><p class="story">Once upon a time there were three little sisters; and their n原创 2017-01-20 17:29:14 · 7824 阅读 · 0 评论 -
python+subprocess.popen
点击打开链接转载 2017-01-18 22:21:05 · 255 阅读 · 0 评论