recurrentjs icon indicating copy to clipboard operation
recurrentjs copied to clipboard

Load JSON model not working?

Open lukemunn opened this issue 8 years ago • 1 comments

Hey there, this is a really interesting framework, have been using this as well as the torch-rnn variant.

Recently I ran a 40x40 RNN in the browser over a couple days, up to epoch 600.

I saved this with the simple JSON save in the browser too, but when I go to load it in, nothing seems to happen. I can click 'learn/restart' but that starts all the way back to beginning, perplexity is massive, etc.

Is there something simple I'm missing, or an order of operations in terms of loading then clicking something?

I'll attach the JSON model below in case that helps: epoch_676.txt

lukemunn avatar Jul 06 '16 18:07 lukemunn

In epoch_676.txt and https://cs.stanford.edu/people/karpathy/recurrentjs/lstm_100_model.json I see no "solver" json key, but this code in loadModel func tries to read it then throws: solver.decay_rate = j.solver.decay_rate;

benrayfield avatar Apr 01 '19 15:04 benrayfield