上一页 1 2 3 4 5 6 ··· 10 下一页

2019年1月28日

__slots__属性,声明实力属性名字列表

摘要: 消除__dict__,节省内存。 阅读全文

posted @ 2019-01-28 10:30 NothingLZ 阅读(134) 评论(0) 推荐(0) 编辑

isinstance 与 type 的区别

摘要: 地址:http://www.runoob.com/python/python-func-isinstance.html 阅读全文

posted @ 2019-01-28 10:19 NothingLZ 阅读(125) 评论(0) 推荐(0) 编辑

2019年1月26日

conda使用技巧

摘要: https://www.cnblogs.com/Sinte-Beuve/p/8597429.html https://www.cnblogs.com/xiaotongtt/p/8909844.html conda env --help #查看帮助 conda env list #列出所有的虚拟环境 阅读全文

posted @ 2019-01-26 12:02 NothingLZ 阅读(436) 评论(0) 推荐(0) 编辑

2019年1月18日

卷积神经网络参数

摘要: 卷积神经网络(Convolutional Neural Network, CNN)是深度学习技术中极具代表的网络结构之一,在图像处理领域取得了很大的成功,在国际标准的ImageNet数据集上,许多成功的模型都是基于CNN的。CNN相较于传统的图像处理算法的优点之一在于,避免了对图像复杂的前期预处理过 阅读全文

posted @ 2019-01-18 11:06 NothingLZ 阅读(4104) 评论(0) 推荐(0) 编辑

2018年12月21日

python通配符之glob模块

摘要: 转自:https://blog.csdn.net/dcrmg/article/details/78309469 官方链接:https://docs.python.org/3.6/library/glob.html 阅读全文

posted @ 2018-12-21 19:21 NothingLZ 阅读(115) 评论(0) 推荐(0) 编辑

2018年12月17日

如何下载github子目录文件

摘要: 比如下载pai子目录下dockerfile文件,可以在浏览器键入 https://raw.githubusercontent.com/Microsoft/pai/master/src/dev-box/build/dev-box.dockerfile 固定的头是https://raw.githubus 阅读全文

posted @ 2018-12-17 11:49 NothingLZ 阅读(1048) 评论(0) 推荐(0) 编辑

2018年12月6日

Python图片裁剪

摘要: 我们使用的是Image中的crop(box)功能,它需要一个参数box,元组 类型,元组包括4个元素,如:(距离图片左边界距离x, 距离图片上边界距离y,距离图片左边界距离+裁剪框宽度x+w,距离图片上边界距离+裁剪框高度y+h) 如图:(x, y, x+w, y+h), x,y是裁剪框左上角的坐标 阅读全文

posted @ 2018-12-06 16:43 NothingLZ 阅读(1993) 评论(0) 推荐(0) 编辑

2018年10月31日

Docker修改本地镜像与容器的存储位置

摘要: 这个方法里将通过软连接来实现。 首先停掉Docker服务: systemctl restart docker或者service docker stop然后移动整个/var/lib/docker目录到目的路径: mv /var/lib/docker /root/data/dockerln -s /ro 阅读全文

posted @ 2018-10-31 09:32 NothingLZ 阅读(309) 评论(0) 推荐(0) 编辑

2018年10月18日

Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'

摘要: 错误: 在运行sudo apt-get update时出现如上信息,解决方法如下: 执行完上述命令之后再次运行sudo apt-get update就不会再出现上面的错误。 参考: https://askubuntu.com/questions/774986/appstreamcli-hanging 阅读全文

posted @ 2018-10-18 11:48 NothingLZ 阅读(308) 评论(0) 推荐(0) 编辑

2018年9月29日

UBUNTU中使用pip安装,提示cannt import main问题

摘要: 在pip==8.1.1版本中,使用pip install Django==1.8.16时,提示 Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> from pip import main Impor 阅读全文

posted @ 2018-09-29 15:24 NothingLZ 阅读(199) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 10 下一页

导航