Subscribe

Error I don't understand

  1. nobody

    2008-04-22 13:53:18 PDT
    Hi,
    So I've used MARF to make my own speaker identification app. Most of the time when i run MARF.recognize() (after i have set the sample file) it works perfectly. But sometimes it throws a MARFException and I get this error that i don't understand:

    null
    null
    at marf.Storage.Loaders.WAVLoader.loadSample(Unknown Source)
    at marf.Storage.SampleLoader.loadSample(Unknown Source)
    at marf.MARF.startRecognitionPipeline(Unknown Source)
    at marf.MARF.recognize(Unknown Source)

    I don't know what's happening! Can you help?!?!
  2. 2008-04-27 13:51:36 PDT
    Hi,

    The error message is indeed not very helpful. The newer code has
    improved error reporting and bugs in error reporting, but it seems
    you are running the older version. The current code in the CVS
    has a better reporting than this.

    Anyways, in order for me to help you, you have to help me first,
    by providing some more information. The error above is triggered
    when a WAVLoader for some reason cannot read the .wav file. There
    could be multiple causes for it -- file permissions, file name
    misspelled, location is wrong, corrupt file, etc.

    First, I'd need to know the version of MARF you are running. On the
    command line (in the directory where your marf*.jar is):

    java -jar marf.jar --diagnostic

    and paste the result here or email it to me (mokhov@users.sf.net).
    If you marf.jar does not support the --diagnostic option (it means
    quite old) then, please run it with:

    java -jar marf.jar --version --verbose


    Next, please enable in your application MARF's debug flag prior running
    MARF.recognize() by:

    marf.util.Debug.enableDebug(true);

    And run your experiments again to see if you get any new
    debug info that can help.

    I will be in the process of releasing perhaps another CVS shapshot
    soon, but I have prepared a pre-compiled CVS checkout in a form
    of .jar file, so if you could give it a try with your application,
    and see if you get anything better in terms of the error reported
    or bug fixed. For now you can find it here:

    http://users.encs.concordia.ca/~mokhov/marf/marf-0.3.0.6-devel-20080427-fat.jar

    Please post your progress, negative or positive.

    Thanks,

    -s
  3. nobody

    2009-03-20 04:04:24 PDT
    still it is getting same error
    plz....... help me
  4. nobody

    2009-03-26 02:33:08 PDT
    when i modify speakers.txt, add new samples in training,testing folders and executed retrain batch file.
    Then i got 100% result but training-samples voices are different for the testing-samples.
    It is not giving unknown speaker.
    What's going on there.
    Plz.............. help me
  5. 2012-08-27 16:06:50 PDT
    pls, I'm having exactly the same error. I need to know how to get out of this, pls. thanks! I'm using 2006 marf version.
  6. 2012-08-30 21:58:44 PDT
    ok, problem solved. TargetDataLine was still open while I was trying to loadSample. thanks guys!
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.