- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 Opencv-Python求单个/多个图像重心
import cv2def get_one_center(image): img = cv2.imread(image, 0) # convert the grayscale image to binary image ret, thresh = cv2.threshold(img, 127, 255, 0) # calculate moments of binary image M = cv2.moments(thresh) # calcula.
2021-03-19 10:51:12 1942
原创 云计算基础之二 基于CRIU的在线Docker迁移
Name of the Lab ProgramIntroduction to Cloud Computing – Live MigrationAim of the LabUnderstanding the basic techniques for VM migrationUsing docker container as an example to test your migration...
2019-11-10 11:09:45 745
原创 云计算基础之一 Shell脚本编写
Write a Shell script that accepts a filename, starting and ending line numbers as arguments and displays all the lines between the given line numbers.Script:#! /bin/shsed -n $2,$3p $1Write a ...
2019-11-10 11:05:46 404
原创 迁移学习中的条件概率分布与边缘概率分布
在迁移学习中,一个热门的研究方向是领域自适应(Domain Adaptation)。在领域自适应的定义中,涉及到条件概率分布与边缘概率分布,先就其定义解释如下。首先定义联合概率。假设有随机变量X与Y,此时P(X=a, Y=b)用于表示X=a且Y=b的概率。这类包含多个条件且所有条件同时成立的概率称为联合概率。联合概率一览表被称为联合概率分布。接下来定义边缘概率。边缘概率与联合概率相对应,当P(...
2019-11-10 10:58:19 5459
原创 在CUDA10的环境下安装支持gpu的tensorflow版本(亲测有效)
由于英伟达官方宣称CUDA10有着巨大的性能提升,我便迫不及待的想尝试用它来训练深度学习模型,然而现在Tensorflow的最新官方GPU版本1.12并不支持在CUDA10下的模型训练,因此便翻墙到国外论坛找材料,最终找到了可以完美适配CUDA10的tensorflow方案。具体的环境如下:NVIDIA Driver Version 411.63 CUDA Version...
2018-11-29 13:12:57 28519 19
转载 在WIN10系统基础上安装Ubuntu18.04LTS过程中遇到的一些问题(基于EasyBCD2.3)
这几天由于深度学习需要用到Linux,而之前安装在虚拟机中的Linux由于无法支持CUDA和有效利用内存,故安装了Ubuntu最新支持的LTS版本18.04。之前安装本来使用的是U盘镜像,但由于RPUG报错问题一直无法解决,故改用了基于EasyBCD2.3的安装方法。本次安装主要参考的教程是https://blog.csdn.net/ouyangying123/article/details/77...
2018-07-23 23:43:19 979 1
支持CUDA10的tensorflow-gpu轮子
2018-11-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人