随笔分类 -  Python

摘要:```# coding=utf-8import osimport shutil#目标文件夹,此处为相对路径,也可以改为绝对路径determination = 'train/'if not os.path.exists(determination): os.makedirs(determination)#源文件夹路径path = r'E:\数据集\CUB_200_2011\CUB_200_20... 阅读全文
posted @ 2020-05-14 13:00 dubbos 阅读(2849) 评论(1) 推荐(0)
摘要:想下载Pillow包,用pip install Pillow命令,找不到对应的包,于是想到更新pip,结果把pip给更新没了,如图 经过查询,可以通过easy_install pip命令找回,结果还是报错 最后通过如下命令解决,参考stackoverflow: 1、curl https://boot 阅读全文
posted @ 2020-05-12 17:44 dubbos 阅读(1295) 评论(0) 推荐(0)