recurrentjs icon indicating copy to clipboard operation
recurrentjs copied to clipboard

Ability to import trained model from char-rnn?

Open Quasimondo opened this issue 9 years ago • 4 comments

How feasible would it be to import a model that has been created with char-rnn? Could the structure of the t7 files theoretically be converted to a JSON format that recurrentjs understands?

Quasimondo avatar Jun 15 '15 17:06 Quasimondo

seconded! that would be a lovely application

KaroAntonio avatar Dec 15 '15 20:12 KaroAntonio

I have started working on it. I have managed to generate a JSON in the format required by RecurrentJS, but I'm still facing a few problems, mainly due to format differences between the 2 implementations.

This is a side project I do sometimes after work, so it's hard for me to commit to an ETA.

Darktex avatar Feb 12 '16 17:02 Darktex

Hey so did you manage to take the torch files and convert them to JSON? Could I fork you or some such? I'd love to help out. On Fri, Feb 12, 2016 at 10:34 AM Darktex [email protected] wrote:

I have started working on it. I have managed to generate a JSON in the format required by RecurrentJS, but I'm still facing a few problems, mainly due to format differences between the 2 implementations.

This is a side project I do sometimes after work, so it's hard for me to commit to an ETA.

— Reply to this email directly or view it on GitHub https://github.com/karpathy/recurrentjs/issues/5#issuecomment-183422897.

KaroAntonio avatar Feb 12 '16 22:02 KaroAntonio

That'd be great! It's all very early stage, but I shared everything I have here: https://github.com/Darktex/char-rnn/tree/export-to-recurrentjs

I have identified 3 issues, so I added them for easy tracking. Let me know if you wanna pick up a specific one so that I can work on one of the others :)

Darktex avatar Feb 15 '16 21:02 Darktex