ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

[dev0.3] Exporting graph from specific checkpoint

Open ZephyrRaine opened this issue 8 years ago • 3 comments

Hello there, I've been experimenting with branch development-0.3, as I'm really interested in doing adversarial training stuff. So, in my project, I've got two opponents, with opposite rewards, and I'm interested in getting them to be as balanced as possible. Over 1e6 steps, I got these results:

image

As you can see, it stabilizes at the end (behaviours are pretty dumb btw), and grey always wins.
If I manage to get enough checkpoints through the course of the training, how could I load them and export them as .bytes files I can embed in Unity?

Despite managing to train and export whenever I want (even if training stop before reaching max_steps) without the jupyter notebook, I haven't found a way to do that in python files. Would I have to code it myself?
I suppose I could tweak something in models.py but would greatly appreciate feedback from you real devs before messing up with actual code.

(Also if you have any tips for doing adversarial training, I'd greatly appreciate it, especially regarding ghost trainer which might be more efficient than having two external brains; but apart from adding is_ghost to dictionnary I haven't really got how to use it.)

Sorry to push questions regarding obviously in developement features, thus the lack of documentation, but I'm greedy af and very curious about your work. Hope you don't mind and thanks for your time!

ZephyrRaine avatar Jan 25 '18 18:01 ZephyrRaine

We have since released v0.3, can you please try the master branch or one of our latest releases and let us know if you have any more questions.

mmattar avatar Mar 28 '18 21:03 mmattar

Hi @ZephyrRaine, Hopefully you were able to resolve your issue. We are closing this due to inactivity, but if you need additional assistance, feel free to reopen the issue.

eshvk avatar Apr 19 '18 15:04 eshvk

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 03 '20 12:01 lock[bot]