![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
keras
老三是只猫
坚持不断的学习
展开
-
keras代码集锦
keras代码集锦原创 2019-07-04 10:43:09 · 719 阅读 · 0 评论 -
keras知识总结篇(长期更新)
CNN网络结构演变历程,包含keras源码原创 2019-05-21 10:50:04 · 604 阅读 · 0 评论 -
keras-数据增强——Keras Image Data Augmentation 各参数详解
数据增强——Keras Image Data Augmentation 各参数详解原创 2021-02-18 09:00:50 · 227 阅读 · 0 评论 -
keras-迁移学习
https://blog.csdn.net/baimafujinji/article/details/80743814原创 2019-07-31 15:09:43 · 238 阅读 · 0 评论 -
keras模型部署
keras模型部署 https://blog.csdn.net/ZWX2445205419/article/details/91820112原创 2019-07-26 15:15:28 · 646 阅读 · 0 评论 -
Keras模型-模型参数
keras模型Sequential模型keras一般用Sequential模型作为搭建神经网络的开始,本节开始论述Sequential模型接口的主要使用方法add定义:add(self,layer)用途:向模型中添加一个层参数layer是Layer对象,也即是层pop定义:pop(self)用途:弹出模型最后的一层,无返回值,该方法一般很少用到compile()定义:co...原创 2019-07-31 19:05:12 · 3063 阅读 · 0 评论 -
构建视频分类模型(python)
"""@version: python3.6@author: 'Johnson'@contact: 593956670@qq.com@file: get_img.py@time: 2019/9/18 11:01"""import cv2import mathimport matplotlib.pyplot as pltimport pandas as pdfrom keras...原创 2019-09-18 11:58:45 · 1709 阅读 · 0 评论 -
keras中VGG19预训练模型的使用
https://blog.csdn.net/dcrmg/article/details/81178424原创 2019-09-18 23:22:22 · 1064 阅读 · 0 评论 -
keras 多gpu并行运行
文章链接原创 2019-09-19 15:56:20 · 355 阅读 · 0 评论 -
Keras ModelCheckpoint 保存最佳模型
https://blog.csdn.net/yz19930510/article/details/82840055https://blog.csdn.net/breeze5428/article/details/80875323原创 2019-09-20 09:52:41 · 885 阅读 · 0 评论 -
keras-early stopping
https://blog.csdn.net/googler_offer/article/details/79122681early stop 和 ModelCheckPointhttps://blog.csdn.net/silent56_th/article/details/72845912https://blog.csdn.net/manong_wxd/article/details/7...原创 2019-09-20 10:12:54 · 218 阅读 · 0 评论 -
经典-基于Keras实现Kaggle2013--Dogs vs. Cats12500张猫狗图像的精准分类
https://blog.csdn.net/apengpengpeng/article/details/80866029?tdsourcetag=s_pctim_aiomsg原创 2019-09-20 11:18:57 · 380 阅读 · 0 评论 -
如何使用Keras fit和fit_generator(动手教程)
https://blog.csdn.net/learning_tortosie/article/details/85243310https://blog.csdn.net/u011311291/article/details/79900060原创 2019-09-25 16:41:38 · 193 阅读 · 0 评论 -
keras-预训练的ImageNet模型实现分类
import kerasimport numpy as npfrom keras.applications import vgg16,vgg19,inception_v3,resnet50,mobilenet#加载模型vgg_model = vgg16.VGG16(weights='imagenet')inception_model = inception_v3.InceptionV3...原创 2019-07-31 13:54:39 · 1323 阅读 · 0 评论 -
keras-VGG19
#coding=utf-8from keras.models import Sequentialfrom keras.layers import Dense,Flatten,Dropoutfrom keras.layers.convolutional import Conv2D,MaxPooling2Dimport numpy as npseed = 7np.random.seed(...原创 2019-07-31 10:30:08 · 750 阅读 · 0 评论 -
Keras 基础学习(二) --ImageDataGenerator()
keras基础学习 ImageDataGenerator()图片读取ImageDataGenerator()ImageDataGenerator()是keras.preprocessing.image模块中的图片生成器,同时也可以在batch中对数据进行管理,扩充数据集大小,增强模型的泛化能力,比如进行旋转,变形,归一化处理等keras.preprocessing.image.ImageDa...原创 2019-07-05 10:56:53 · 723 阅读 · 0 评论 -
keras实战-卷积神经网络图片分类-猫狗数据
from keras.datasets import mnistfrom keras.utils import np_utils #convert int labels to one-hot vectorfrom keras.layers import Dense,Conv2D,MaxPooling2D,Flattenfrom keras.models import Sequential...原创 2019-07-05 14:13:26 · 1757 阅读 · 0 评论 -
keras-LSTM 时间序列(二)
from pandas import read_csvfrom datetime import datetime#load datadef parse(x): return datetime.strptime(x, '%Y %m %d %H')dataset = read_csv("/work/johnson_folder/biggamesData/raw.csv",parse_dat...原创 2019-07-11 14:53:08 · 629 阅读 · 0 评论 -
kears-LSTM时间序列(三)
from pandas import DataFramefrom pandas import Seriesfrom pandas import concatfrom pandas import read_csvfrom pandas import datetimefrom sklearn.metrics import mean_squared_errorfrom sklearn.pre...原创 2019-07-11 15:08:09 · 307 阅读 · 0 评论 -
keras参数调优
keras参数调优本文主要想为大家介绍如何使用sklearn网格搜索功能,并给出一套代码示例。下文所涉及的议题列表:如何在scikit-learn模型中使用Keras。如何在scikit-learn模型中使用网格搜索。如何调优批尺寸和训练epochs。如何调优优化算法。如何调优学习率和动量因子。如何确定网络权值初始值。如何选择神经元激活函数。如何调优Dropou...原创 2019-07-11 16:36:33 · 1046 阅读 · 0 评论 -
lstm-forecast-最经典案例
# -*- coding: utf-8 -*-"""Created on 2019/5/21 23:32@Author: Johnson@Email:593956670@qq.com@File: LSTM_forecast.py"""# -*- coding: utf-8 -*-import numpy as npimport matplotlib.pyplot as plt...原创 2019-07-30 10:16:09 · 613 阅读 · 0 评论 -
keras-cnn经典案例
# coding:utf-8''' GPU run command: THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python cnn.py CPU run command: python cnn.py'''# 导入各种用到的模块组件from __future__ import ...原创 2019-07-30 11:01:25 · 831 阅读 · 0 评论 -
keras-多标签分类
import numpy as npimport matplotlib.pyplot as pltimport pandas as pdfrom keras.layers.core import Dense,Activation,Dropout,Flattenfrom keras.layers.advanced_activations import PReLUfrom keras.lay...原创 2019-07-30 11:31:23 · 1070 阅读 · 0 评论 -
keras-人脸分类
# -*- coding: utf-8 -*-"""Created on 2019/5/21 14:37@Author: Johnson@Email:593956670@qq.com@File: face_reco01.py"""import osimport cv2import numpy as npfrom sklearn.model_selection import t...原创 2019-07-30 13:51:43 · 275 阅读 · 0 评论 -
keras-人脸关键点检测
# -*- coding: utf-8 -*-"""Created on 2019/5/21 10:46@Author: Johnson@Email:593956670@qq.com@File: keras_人脸关键点检测.py"""from tensorflow.contrib.keras.api.keras.preprocessing.image import ImageData...原创 2019-07-30 14:21:35 · 383 阅读 · 0 评论 -
keras实战-猫狗数据-VGG16
# -*- coding: utf-8 -*-"""Created on 2019/7/30 19:31@Author: Johnson@Email:593956670@qq.com@File: catvsdog-02.py"""import osimport numpy as npfrom keras.models import Sequential,Modelfrom ke...原创 2019-07-31 09:18:52 · 309 阅读 · 0 评论 -
keras-VGG16模型
import timefrom keras.applications.imagenet_utils import preprocess_input, decode_predictionsfrom keras.layers import Dropout, Flatten, Densefrom keras.layers.convolutional import Convolution2D,Max...原创 2019-07-31 09:56:45 · 462 阅读 · 0 评论 -
Keras 基础学习 I Sequential Model
keras介绍keras是一个深度学习的高级API接口,有python实现,支持tensorflow,theano作为后端,最近keras也成为tensorflow的官方高级API,因此和tensorflow的适配性更好了。keras支持简介的快速的原型设计,支持CNN和RNN,无缝CPU和GPU切换。此外keras模型也能直接转为coreML模型应用在iOS设备上如果你熟悉深度学习基本概念,...原创 2019-07-05 10:19:54 · 251 阅读 · 0 评论