- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 TypeError: Image data of dtype object cannot be converted to float 错误解决
当使用 jupyter notebook 读取图片的时候。页面报错TypeError: Image data of dtype object cannot be converted to float你已经检查了你的文件路径是正确的,图片格式也是对(jpg、png)的,图片的大小也没有很变态。如果爆出上面的错误,唯一的方法就是,restart 你的jupyter notebook。找到页面...
2020-01-20 16:02:20
44041
12
转载 Python关于%matplotlib inline
我在做一个比赛需要使用到LSTM模型对时间序列进行预测,然后在github代码中经常会看到这样的代码:import numpyimport matplotlib.pyplot as pltfrom pandas import read_csvimport mathfrom keras.models import Sequentialfrom keras.layers import ...
2019-10-10 14:26:12
203
原创 【已解决】Win10下将Cmder的PowerShell输出的λ修改成$
操作环境:Windows10专业版 Cmder版本:Version 1.3.6目的:将Cmder的PowerShell输出的 λ 修改成 $ 第一步:打开Cmder.exe所在的文件夹第二步:进入里面的vendor文件夹 。我的是 C:\Users\nanly\AppData\Local\cmder\vendor第三步:找...
2018-08-24 17:10:06
1620
原创 [Python奇技淫巧专栏]--print输出
先占坑1.如何让 print 不换行在Python中总是默认换行的但在 3.x 中这样不起任何作用要想换行你应该写成 print(x,end = '' ) >>> for x in range(0,10): print (x,end = '') 0123456789 ...
2018-08-08 17:28:17
688
转载 Windows下使用pyinstaller打包python3.5程序(从安装开始)
1.Windows下使用pyinstaller打包python3.5程序(从安装开始)https://blog.csdn.net/ltime/article/details/72496090#t12.Python程序打包--pyinstaller库的使用https://blog.csdn.net/i_chaoren/article/details/560198233.Win10下搭建Python和...
2018-07-13 18:16:46
1223
Measuring size of objects in an image with OpenCV源代码
2018-08-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人