Closed yifan closed 8 years ago
Wow, thanks a lot. Ideally there would be only one GStreamer plugin, and it would recognize automatically (or via a property) whether nnet2 or nnet3 code should be used. What do you think, would this be difficult to implement? Otherwise we would have a lot of code duplication.
It is surely doable. The only thing is that some objects in KALDI are not inherited from same super class. Take AmNnetSimple for example, we either keep two pointers in class, and use one of them depending on nnet2 or nnet3 configuration, or we use a 'void *'. Either way, it is not the cleanest way. Let me try it and let's see how it looks like.
closed because new pull request is available
support nnet3 decoding. It basically just change all the nnet2 decoding call to nnet3. threaded decoder is not supported though.