自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

转载 KL散度、JS散度、Wasserstein距离

转自https://zxth93.github.io/2017/09/27/KL%E6%95%A3%E5%BA%A6JS%E6%95%A3%E5%BA%A6Wasserstein%E8%B7%9D%E7%A6%BB/1. KL散度KL散度又称为相对熵,信息散度,信息增益。KL散度是是两个概率分布P和Q 差别的非对称性的度量。 KL散度是用来 度量使用基于Q的编码来编码来自P的样本平均...

2018-07-30 11:02:09 5844

原创 pip install (速度慢或者下载超时)使用豆瓣源

pip install xxx -i http://pypi.douban.com/simple/如果如下报错 The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS ...

2018-07-20 09:45:23 1083

原创 seedbank今日发布

http://tools.google.com/seedbank/需要翻墙, 内核还是jupyter notebook, 运行代码需要谷歌账号

2018-07-13 16:57:05 302

原创 PyQt5 Win10防止窗口出现在屏幕外

from PyQt5.QtGui import *from PyQt5.QtCore import *from PyQt5.QtWidgets import *import sysapp = QApplication(sys.argv)screen = app.primaryScreen()size = screen.size()height, width = size.height...

2018-07-11 12:41:05 1026

原创 PyQt5 QListWidget选择多项并返回

from PyQt5.QtGui import *from PyQt5.QtCore import *from PyQt5.QtWidgets import *listItem = ['a','b','c','d','e']if listItem is not None and len(listItem) > 0: self.listWidget = QLis...

2018-07-10 19:29:38 10857

原创 Pyinstaller 打包PyQt5写的界面遇到的一些坑和问题

github:https://github.com/xiaoboxie/labelImg    这是fork了别人的项目自己改了点用于多标签标注改完后想用pyinstaller 打包给其他小伙伴用。(也尝试了py2exe, cxfreeze,有点麻烦还出了点问题,就果断用pyinstaller)环境:python3.6.6  64位,PyQt5, Windows10事先将PyQt5加入环境变量中,...

2018-07-09 18:07:19 6331

原创 opencv-python 图像数据增强

翻转,旋转,椒盐噪声,高斯噪声,亮度调节def SaltAndPepper(src,percetage): SP_NoiseImg=src.copy() SP_NoiseNum=int(percetage*src.shape[0]*src.shape[1]) for i in range(SP_NoiseNum): randR=np.random.r...

2018-06-30 15:28:57 10044

原创 Keras报错l2_normalize() got an unexpected keyword argument 'axis'

将keras.backend.tensorflow_backend中tf.nn.l2_normalize(x, axis=axis)axis=axis改成dim = axis^1

2018-06-14 11:05:18 4277

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除