kaldi icon indicating copy to clipboard operation
kaldi copied to clipboard

Document about layer usages in xconfig

Open eliphatfs opened this issue 4 years ago • 2 comments

The latest nnet3 setup for deep neural networks is intended for supporting the kinds of topologies that both the nnet1 and nnet2 code-bases support, and more; and to do so in a natural, config-file-driven way that should not require coding to support most interesting new ideas.

Indeed, it provides a easier way to view the architecture of networks written by others. However, as one, like me, new to kaldi, and willing to learn how to compose his/her own neural networks in kaldi, he/she may have problems with the xconfig. People are asking what's this and what's that on kaldi-help forum, for example, here and here. I think that there had better be a list of available layers (well, this can be found in xconfig/parser.py, but even better in documentation as it consumed hours for me to find that correct file) and moreover, the possible configurations and meanings of the configurations. Also, abbreviations such as numbers for Offset which is visible everywhere in examples but nowhere in the documentation give rise to much confusion.

Overall, the documentation seems to target expert developers willing to understand the mechanics inside kaldi, dealing with internals of C++ code. In contrast, scripting, which is actually what most newcomers and students do, seems to be loosely documented.

eliphatfs avatar Jun 23 '21 02:06 eliphatfs

I'm willing to contribute to documents on the scripts, but well, I have to be able to understand them fully myself 🤕

eliphatfs avatar Jun 23 '21 02:06 eliphatfs

I'm sorry, I don't have time for this right now. Of course it would be great if you could start something like this.

On Wed, Jun 23, 2021 at 10:48 AM 北海若 @.***> wrote:

I'm willing to contribute to documents on the scripts, but well, I have to be able to understand them fully myself 🤕

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4577#issuecomment-866479577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFLO6NVLMSSPOKQXAQEQ3TUFDOBANCNFSM47E3P2AQ .

danpovey avatar Jun 23 '21 03:06 danpovey