Menu

Unable to load pre-saved model

Help
Anonymous
2013-04-29
2013-04-29
  • Anonymous

    Anonymous - 2013-04-29

    I am using the loadJason routine to load the saved neural network, but the code crashes at the function call. Is there an alternative to load an existing network from hard disk.

     
  • Mike Gashler

    Mike Gashler - 2013-04-29

    I would need more information to determine the cause of the problem. I recommend building with debug symbols (make dbg), and then running inside a debugger. A call stack would provide a lot of information. If it is throwing an exception, put a breakpoint in Ex::setMessage in GError.cpp to get a call stack to the point where the exception is thrown.

    The "waffles_learn test" tool loads a model from a json file (waffles/src/learn/main.cpp). It might be helpful to see how your implementation differs from that one.

    Mike

     

Anonymous
Anonymous

Add attachments
Cancel