xylcbd / EasyCNN

easy convolution neural network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clean up the git commit history

zchrissirhcz opened this issue · comments

首先感谢分享这样一个CNN前向推理的开源代码,对于上手熟悉CNN推理框架、熟悉C++/C++11来说还是有帮助的。

不过在研读代码的过程中(我用的是source tree),发现其中存在历史分支以及合并,并且历史分支之间有重复的内容。例如"initialize repo"出现了两次,"update msvc project"出现了3次,整个commit tree看起来也变得不够清晰。

实际上,一共116次commit记录,没弄错的话只有37次commit是有效的。在Ubuntu/MacOS下,结合tig工具查看对比,git rebase -i bf22931后,把tig输出里的第24行(6ba7)到第80行(b796)的内容都drop掉(包括24和80行)即可得清爽的提交记录。我修改后,git log --oneline输出为:

(base) 1080Ti% git log --oneline
20b1571 fix decrypt bug
5b7d2f1 Update README.md
f2800ad Update README.md
8bb5cf3 fix padding bug of conv/pool layer.
5b89c5e add tensorflow model converter. fix bug of multi-thread parallel. fix bug of preprocess of input image(mnist).
f4a3327 add padding type of convolution layer. modify model archive type. disable encrypt model by default.
29bbcad fix bug.
db59a07 add xavier_init, moving_average
25d6dbd fix bug [max pooling].
6e64621 fix train loss calc wrong issue.
d545f7b add namespace.
d9acfa0 optimize performance.
175fd99 refactor code; optimized for multi-core platform;
28ed53e disable dropout in example mnist.
39b1c83 add NOMINMAX macro for windows.
98f76bc remove digit recognize example; add dropout layer; fix loss calculate wrong issue.
2a3ae2c fix bug.
648cd62 refactor some code. add more optimizer.
ad9e936 Update README.md
b82779a Update README.md
d958d05 update digit_data_sample.
a8f862a add android log support.
ccb5dbd add model crypt.
75613d4 add android makefile.
c914b60 Update README.md
2a2d9e2 Update README.md
34347da Update README.md
c5e0c27 add digit recognize example. fix bug.
8ab1500 Update README.md
f417f61 refactor example.
1563cd6 add mnist accuracy image.
bcb7fdf fix train error when batch > 1 issue.
f8a51ee add mnist data shuffle. modified weight algorithm.
c57d820 update README.md.
be51f5e add WTFPL license.
f9e1fbf Update README.md
ff36704 add model save & load.
edcfaea update msvc project.
7b311ea Update README.md
d065024 refactoring framework. add MSE loss function.
c97fd5a fix max pooling crash issue when batch is changed. add conv_net,mlp_net.
fe5e05f fix forward/backward bug.
3542395 finished backward phase.
a2dc1d9 add forward to label layer/SoftmaxLayer layer/activation layer.
9bdaf36 refactor framework. fix forward bug.
d380c92 fix forward bug.
63b39fb add assert function. finished forward.
0a53596 cnn framework improve. add log.
3e92c02 cnn framework improve.
5f99b8b init cnn framework.
bf22931 initialize repo.

点赞~ 这个是很久以前的toy code了,很高兴能帮助大家理解调试CNN。