我有一个看起来像这样的文件夹结构。
- folder1
- file1
- *other files*
- folder2
- file1
- *other files*
- .gitignore
- package.json
- *other files*
Run Code Online (Sandbox Code Playgroud)
我想在推送时运行我的 github 操作,仅当任何更改/推送的文件位于folder1
目录/文件夹中时。
我想在 Flux 中使用优化器,如 Julia Academy使用 Flux.jlSGD
进行深度学习的教程中所示。这是他们提供的笔记本,其中使用 SGD 优化器:
opt = SGD(params(model))\n
Run Code Online (Sandbox Code Playgroud)\n\n然而,当我运行 SGD 时,我得到:
\n\nERROR: UndefVarError: SGD not defined\n
Run Code Online (Sandbox Code Playgroud)\n\n这是我运行时的输出?SGD
:
search: SGD AMSGrad Signed signed Unsigned unsigned sigmoid issetgid logsigmoid StringIndexError isassigned significand\n\nCouldn\'t find SGD\nPerhaps you meant SGD, Set, Sys, GC, Some, sec, sin, sum, LSTM, csc, esc, isa, ans, abs, cis, cos, eps, ARGS, Pkg, GRU, RNN, cpu, elu, f32, f64, gpu, \xcf\x83, !, !=, !== or …
Run Code Online (Sandbox Code Playgroud)