2016-07-16 ruki
xmake provides some api, which can detect whether exist some library functions. ```lua target("test") -- checks some libc functions from the header files: wchar.h and stdlib.h add_cfuncs("libc", nil, {"wchar.h", "stdlib.h"}, "wcscat", 继续阅读 »
2017-10-03 findneo
校园网使用PPPoE拨号上网,每次都通过图形化界面通断网络不太方便,希望能一键上网一键下线,于是写了个小脚本。 配置好相关参数后保存为 C:\Windows\System32\surf.bat ,重启命令行即可使用 surf 命令通断网络,常用的话甚至只要 win+r->enter就可以自由迅速地上线下线啦。把下面第二十行的注释去掉可以在联网同时打开ss,有些缺憾的是还没有实现断网时退出ss。 流程控制参考了Batch Guide by Terry Newton 。 ```c REM 校园网使用PPPoE拨号上网,将文件内容存为 C:\Windows\System32\surf.bat ,可以命令行拨号上网 REM 可自行加 继续阅读 »
2018-03-12 Alex Sun
1. 超参数 到目前为止,已经涉及到了许多个超参数: 学习速率 $\alpha$ Momentum优化算法的 $\beta$ Adam优化算法的 $\beta_1,\beta_2,\epsilon$ 网络层数 $L$ 每个隐藏层的神经单元个数 学习率衰减 $decay\text{-}rate$ $batch\text{-}size$ 继续阅读 »
2018-03-18 Alex Sun
1. 论文 V1: Going Deeper with Convolutions V2: Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift V3: Rethinking the Inception Architecture for Computer Vision V4: Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning 继续阅读 »
2018-02-27 Alex Sun
1. BGD BGD即批量梯度下降(Batch Gradient Descent),是最原始的梯度下降形式,即每次使用所有训练样本来进行梯度下降。 优点是得到的是全局最优解。 缺点是在样本数量较大的情况下,BGD会运行的很慢。 继续阅读 »