会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
油嘴滑舌
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
2020年4月13日
文件目录(当前目录,上级目录,根目录,下级目录)表示法
摘要: 当前目录:【./】(同级目录)可省略 上一级目录:【../】 上上一级目录:【../../】
阅读全文
posted @ 2020-04-13 11:28 DuanYongchun
阅读(3295)
评论(0)
推荐(0)
2020年4月12日
ImportError: cannot import name '_validate_lengths'解决办法
摘要: 执行: pip install -U scikit-image
阅读全文
posted @ 2020-04-12 23:17 DuanYongchun
阅读(1303)
评论(0)
推荐(0)
ImportError: libXau.so.6: cannot open shared object file: No such file or directory解决办法
摘要: 执行: apt update && apt install -y libsm6 libxext6 libxrender-dev
阅读全文
posted @ 2020-04-12 23:16 DuanYongchun
阅读(2075)
评论(0)
推荐(0)
2020年4月11日
Python图像处理库Pillow(PIL)简介
摘要: 官方教程:https://pillow.readthedocs.io/en/stable/handbook/tutorial.html 之后再写教程 读取图片转换格式并保存 import os import shutil from PIL import Image import numpy as n
阅读全文
posted @ 2020-04-11 01:07 DuanYongchun
阅读(422)
评论(0)
推荐(0)
Python文件读取并写入txt文件的简单实现
摘要: import os import numpy as np # # name:txt文件名 # rootdir:根路径 # metaimage:原始图像路径 # imglabel:标签图像路径 # def write_to_txt(name, root_dir, metaimage, imglabel
阅读全文
posted @ 2020-04-11 00:11 DuanYongchun
阅读(1918)
评论(0)
推荐(0)
2020年4月10日
Win10中CUDA、cuDNN的安装与卸载
摘要: https://blog.csdn.net/XunCiy/article/details/89070315?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1&utm_s
阅读全文
posted @ 2020-04-10 18:16 DuanYongchun
阅读(2597)
评论(0)
推荐(0)
查看Pytorch是否安装成功解决办法
摘要: import torch # 如正常则静默 a = torch.Tensor([1.]) # 如正常则静默 a.cuda() # 如正常则返回"tensor([ 1.], device='cuda:0')" from torch.backends import cudnn # 如正常则静默 cudn
阅读全文
posted @ 2020-04-10 17:21 DuanYongchun
阅读(13633)
评论(0)
推荐(0)
Linux系统安装shapely报错:OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so']解决办法
摘要: Ubuntu系统执行: sudo apt-get install libgeos-dev CentOS系统执行: sudo yum install geos-devel
阅读全文
posted @ 2020-04-10 10:41 DuanYongchun
阅读(6009)
评论(0)
推荐(0)
Linux与Windows查看cuda版本
摘要: Linux: cat /usr/local/cuda/version.txt Windows: # Windows终端 nvcc --version
阅读全文
posted @ 2020-04-10 07:09 DuanYongchun
阅读(625)
评论(0)
推荐(0)
2020年4月9日
Linux删除账户解决办法
摘要: 首先用root用户登录,cd到home目录:执行命令: # 查看删除账户命令 userdel -h # 删除账户 userdel -r duanyongchun(要删除的账户名)
阅读全文
posted @ 2020-04-09 13:14 DuanYongchun
阅读(972)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
公告