Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 24 of file nnet3-info.cc.
References ParseOptions::GetArg(), Nnet::Info(), ParseOptions::NumArgs(), ParseOptions::PrintUsage(), ParseOptions::Read(), and kaldi::ReadKaldiObject().
26 using namespace kaldi;
31 "Print some text information about 'raw' nnet3 neural network, to\n" 34 "Usage: nnet3-info [options] <raw-nnet>\n" 37 "See also: nnet3-am-info\n";
43 if (po.NumArgs() != 1) {
48 std::string raw_nnet_rxfilename = po.GetArg(1);
53 std::cout << nnet.
Info();
56 }
catch(
const std::exception &e) {
57 std::cerr << e.what() <<
'\n';
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
void ReadKaldiObject(const std::string &filename, Matrix< float > *m)
std::string Info() const
returns some human-readable information about the network, mostly for debugging purposes.
The class ParseOptions is for parsing command-line options; see Parsing command-line options for more...