- 博客(5)
- 收藏
- 关注
翻译 吴恩达机器学习12课---混合高斯分布
混合高斯分布 混合高斯分布(MoG)也是一种无监督学习的方法,常用与聚类。当聚类问题中各个类别的尺寸不同、聚类间有相关关系的时候,往往使用(MoG)往往更加合适。对于一个样本来说,MoG得到的是其属与各个类的概率(通过计算后验概率得到),而不熟完全属于某个类,这种聚类方法成为软聚类。一般来说,任意形状的概率分布都可用多个高斯分布函数去近似,因此,MoG的应用较为广泛。形式化解释MoG...
2018-08-24 11:08:55 383
原创 TypeError: 'range' object does not support item assignment
File "F:\Program Files\Python\Python36\lib\random.py", line 275, in shuffle x[i], x[j] = x[j], x[i]TypeError: 'range' object does not support item assignmen解决方法random.shuffle(shuffled_index)的对...
2019-06-24 11:08:07 3503 2
原创 mtcnn+tensorflow运行中遇到的问题
问题1AttributeError: ’ module’ object has no attribute ‘imread’:解决方案pip install pillow问题2.could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR解决方案gpu_options = tf.GPUOptions(per_process_gp...
2019-06-05 14:52:29 715
原创 图像风格转换
import osimport mathimport numpy as npimport tensorflow as tfimport timefrom PIL import ImageVGG_MEAN = [103.939,116.779,123.68]class VGGNet: """Build VGG_16 net structure""" def __ini...
2019-05-07 21:43:46 205
翻译 创建多层layer
# Working with Multiple Layersimport numpy as npimport tensorflow as tfimport osfrom tensorflow.python.framework import opsops.reset_default_graph()# Create graphsess = tf.Session()# Create...
2019-05-07 21:40:15 381
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人