[法师传送门]https://github.com/AngularLock/DeepLearningFrameworkpython
Keras is a high-level neural networks library, written in Python and capable of running on top of either TensorFlow or Theano.Below,I'll show my framework which is to solve cifar10.With the framework,you can focus on the parameters of the neurn networkgit
Keras是一个简单好用的python深度学习框架,后端能够选择Tensorflow和Theano.如下用cifar10分类来介绍这个已经搭建好的包,以此,你只须要更加关注CNN参数的调整github
load data, buid model, train model后端
save better model_weights,you can continue training after a pause网络
at the end of every epoch will show loss&error curve框架
读取数据,生成模型,训练模型学习
网络能够实时保存权值,在终端以后依旧能够继续运算。测试
在训练时,每个epoch结束后会显示 loss 和 error曲线ui
to load and normalize raw data,this module returns 4 variable: x_train,t_train(label),x_test,t_test(label).this
这个模块用于加载和规范化原始数据文件,有4个返回值:x_train,t_train(类标),x_test,t_test(类标)
you can build your model in this module.Return the model as the returned vlue.
在此模块 你能够自由搭建CNN网络。 此模块返回值为model
this module is built to show the loss & error curve while training.
此模块能够实如今网络训练时 实时画出loss & error曲线
this file like the main function in c or other program language.all the modules above will be called in this file.
主文件,调用以上全部模块,完成主要流程:load data--build model--train model
##2. what to do next 后续版本
###2.1 Bug Fix 错误修改
sometimes crashed when ploting loss&error curve
sometimes warnings shows when building or training model
在画loss&error曲线时会无响应
在搭建和训练模型时会弹出某些警告
prediction module
预测 测试 模块