- 博客(4)
- 收藏
- 关注
原创 Windows 使用 rasterio 读取 tif 图像
Windows 使用 rasterio 读取 tif 图像一 、rasterio安装1、在虚拟环境中输入如下命令:conda install gdal rasterio安装完毕后,直接 import rasterio会报错,是关于GDAL_DATA链接的问题2、下载相关文件,并复制到指定路径:https://pan.baidu.com/s/1g6OdkHk2AjfjHG1zJ66L...
2020-03-03 20:05:54 1207 1
原创 torchvision ImportError: cannot import name 'PILLOW_VERSION' from 'PIL'
已安装 pytorch 和 torchvision 的版本可以对应,但是在导入时,出现error:torchvision ImportError: cannot import name ‘PILLOW_VERSION’ from ‘PIL’这是因为torchvision的文件中使用的 ‘PILLOW_VERSION’在已安装的pillow中不存在。虚拟环境默认安装的pillow版本为7.0.0...
2020-03-03 19:42:02 1247
原创 numpy读写数据
numpy读写数据使用numpy读写ndarrayimport numpy as npaa=np.random.randint(1,4,size=(3,3))print(aa)np.save('ndarray_data.npy',aa)bb=np.load('ndarray_data.npy')print(bb)print(type(bb))显示结果为:[[3 3 2]...
2019-11-07 18:13:39 197
原创 windows10使用anaconda的虚拟环境安装sci-learn无法在IDE上导入的问题
windows10 anaconda虚拟环境 sci-learn pycharm VScode 无法导入
2019-10-10 23:20:56 323
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人