摘要: Python - OpenCV 之图像形态学(膨胀与腐蚀) 基于 OpenCV 的图像形态学处理 - 膨胀,腐蚀,开运算,闭运算. 涉及到的 OpenCV 函数 - cv2.erode(),cv2.dilate(),cv2.morphologyEx() 膨胀和腐蚀是图像形态学的两个基本操作. 典型应 阅读全文
posted @ 2021-12-13 10:30 一颗大白鲸 阅读(695) 评论(0) 推荐(1) 编辑
摘要: 愚弄神经网络 如果我们添加上VGG的全连接层,然后试图最大化某个指定类别的激活值呢?你会得到一张很像该类别的图片吗?让我们试试。 这种情况下我们的损失函数长这样: layer_output = model.layers[-1].get_output() loss = K.mean(layer_out 阅读全文
posted @ 2021-12-06 18:13 一颗大白鲸 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 编译+执行代码如下 //using System; //namespace DynamicCode //{ // class Program // { // static void Main(string[] args) // { // Console.WriteLine("Hello World! 阅读全文
posted @ 2021-11-24 15:36 一颗大白鲸 阅读(1635) 评论(0) 推荐(0) 编辑
摘要: python 设置阿里云pip源,加速pip更新速度 Linux系统: mkdir ~/.pip cat > ~/.pip/pip.conf << EOF [global] trusted-host=mirrors.aliyun.com index-url=https://mirrors.aliyu 阅读全文
posted @ 2021-11-22 14:43 一颗大白鲸 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 概述 很多软件都需要屏幕捕捉功能,在软件中实现屏幕捕捉也不是难事,在微软Windows平台,有很多截屏的方法,例如:BitBlt、Mirror driver、 GDI hook、DirectX、DWM/Dxgi hook、Desktop Duplication与GetWindowDC 等方法,但大多 阅读全文
posted @ 2021-11-09 14:05 一颗大白鲸 阅读(2769) 评论(0) 推荐(1) 编辑
摘要: 一 安装canda / python3.8 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple https://www.runoob.com/python3/python3-install.html 下载地 阅读全文
posted @ 2021-10-19 22:21 一颗大白鲸 阅读(224) 评论(0) 推荐(0) 编辑
摘要: #显示所有列 pd.set_option('display.max_columns', None) #显示所有行 pd.set_option('display.max_rows', None) #设置value的显示长度为100,默认为50 pd.set_option('max_colwidth', 阅读全文
posted @ 2021-09-28 17:19 一颗大白鲸 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Python 环境大杂烩 https://tensorflow.google.cn/install/source?hl=zh_cn http://hpc.pku.edu.cn/_book/guide/soft/case/case/vasp.html https://blog.csdn.net/Mr_ 阅读全文
posted @ 2021-06-24 17:49 一颗大白鲸 阅读(60) 评论(0) 推荐(0) 编辑
摘要: Vaex :https://vaex.io/docs/examples.html Examples — vaex 4.3.0 documentation 使用中的问题 #coding:utf-8 import python_utils import vaex from vaex import gro 阅读全文
posted @ 2021-06-24 17:45 一颗大白鲸 阅读(785) 评论(0) 推荐(0) 编辑
摘要: docker login -u staging-xxxxx -p xxxxx pudev-xxxxx docker images docker rmi `docker images -q` -f docker rm `docker ps -a -q` -f docker rmi --force `d 阅读全文
posted @ 2021-06-08 10:19 一颗大白鲸 阅读(195) 评论(0) 推荐(0) 编辑