Comments

Flat
Need some help - ERROR [+5021] GetChkedInt
User: joshua
Date: 4/3/2009 5:08 am
Views: 6694
Rating: 12

I have got a different

  • proto
  • vFloors
  • Hence a different hmmdefs file.

    Does that contribute to my error below? 

     

    $ HERest -A -D -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H hmm0/macros -H hmm0/hmmdefs -M hmm1 monophones0

    ERROR [+5021] GetChkedInt: Integer Arg Required for 1 option

    FATAL ERROR - Terminating program C:\cygwin\HTK\htk-3.3-windows-binary\htk\HERest.exe

     

    Thanks

     

    Re: Need some help - ERROR [+5021] GetChkedInt
    User: kmaclean
    Date: 4/3/2009 11:40 am
    Views: 105
    Rating: 11

    Hi joshua,

    >I have got a different

    >proto
    >vFloors

    >Hence a different hmmdefs file.

    Have you tried running your command with the proto and vFloors files from the tutorial?

    What exactly are you trying to do that is different from the tutorial?

    Ken

     

    Re: Need some help - ERROR [+5021] GetChkedInt
    User: tpavelka
    Date: 4/18/2009 2:41 am
    Views: 81
    Rating: 12

    Your problem is the -D option, it reqires an argument (a directory). The way you have it it takes -T as the argument of -D and then the 1 is just hanging there. This leads to that rather misleading error message.

    Re: Need some help - ERROR [+5021] GetChkedInt
    User: kmaclean
    Date: 4/20/2009 11:06 am
    Views: 112
    Rating: 12

    >Your problem is the -D option, it reqires an argument (a directory).

    Not sure that is correct... From the HTK Book (section 4.4 Standard Options):

    There are six options that are standard across all tools:

    • -C is used to specify a configuration file name
    • -S is used to specify a script file name
    • -D is used to display configuration settings
    • -A causes the current command line arguments to be printed
    • -V causes version information for the tool and each module used by that tool to be listed
    • -T trace option; trace values are typically bit strings and the meaning of each bit is described in the reference section for each tool.



    Re: Need some help - ERROR [+5021] GetChkedInt
    User: tpavelka
    Date: 4/20/2009 11:40 am
    Views: 93
    Rating: 11

    You are right, I missed the case, -d requires a directory but -D does not. So the problem is somewhere else. I still think the problem is in the command line arguments, because the function GetChkedInt is used to retrieve an integer value of an option (I thought it might be in the config, but a different function is used to read it: GetConfInt). If I read it correctly then the error message should display the option with the missing argument. Since it displays the number "1" I would expect to see "-1" in the command line but it is not there...

    Re: Need some help - ERROR [+5021] GetChkedInt
    User: kmaclean
    Date: 4/22/2009 12:09 pm
    Views: 80
    Rating: 11

    HI ,

    >Since [the error message] displays the number "1" I would expect to see "-1" in the

    >command line but it is not there...

    maybe it is somehting in the config file? or maybe joshua cut and pasted the command, and the is an 'invisible' character between the -T and the 1, so that HERest is interpreting the 1 as a command...

    @Joshua: please try to run your command without "-T 1" to see what happens, and provide us with a copy of your config file.

    Ken

    Re: Need some help - ERROR [+5021] GetChkedInt
    User: Minna
    Date: 4/26/2009 10:14 am
    Views: 79
    Rating: 12

    I managed to get the same error message as Josua. But I realized that I had interpreted the letter 'I' wrong way in the execute command after config and before phones0.mlf . This letter 'I' is uppercase i not lowercase L. Hope that this solves your problem as it did mine :)

    Re: Need some help - ERROR [+5021] GetChkedInt
    User: RedCisc
    Date: 6/28/2009 3:22 pm
    Views: 101
    Rating: 11

    That seem to fix that error. An uppercase I vs a lower case L.

    Re: Need some help - ERROR [+5021] GetChkedInt
    User: K.T.Cheang
    Date: 5/3/2011 9:13 am
    Views: 103
    Rating: 10

    I have the same problem.


    A uppercase I fix that error.

     

    Thank You for your help.

    Re: Need some help - ERROR [+5021] GetChkedInt
    User: Zelalem
    Date: 7/21/2011 2:07 am
    Views: 65
    Rating: 8

    $ HERest -A -D -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H hmm0/macros -H hmm0/hmmdefs -M hmm1 monophones0

    ERROR [+5021] GetChkedInt: Integer Arg Required for 1 option

    FATAL ERROR - Terminating program C:\cygwin\HTK\htk-3.3-windows-binary\htk\HERest.exe

    PreviousNext