上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 当前目录:【./】(同级目录)可省略 上一级目录:【../】 上上一级目录:【../../】 阅读全文
posted @ 2020-04-13 11:28 DuanYongchun 阅读(3295) 评论(0) 推荐(0)
摘要: 执行: pip install -U scikit-image 阅读全文
posted @ 2020-04-12 23:17 DuanYongchun 阅读(1303) 评论(0) 推荐(0)
摘要: 执行: apt update && apt install -y libsm6 libxext6 libxrender-dev 阅读全文
posted @ 2020-04-12 23:16 DuanYongchun 阅读(2075) 评论(0) 推荐(0)
摘要: 官方教程: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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: Ubuntu系统执行: sudo apt-get install libgeos-dev CentOS系统执行: sudo yum install geos-devel 阅读全文
posted @ 2020-04-10 10:41 DuanYongchun 阅读(6009) 评论(0) 推荐(0)
摘要: Linux: cat /usr/local/cuda/version.txt Windows: # Windows终端 nvcc --version 阅读全文
posted @ 2020-04-10 07:09 DuanYongchun 阅读(625) 评论(0) 推荐(0)
摘要: 首先用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 下一页