edbeeching / godot_rl_agents

An Open Source package that allows video game creators, AI researchers and hobbyists the opportunity to learn complex behaviors for their Non Player Characters or agents
MIT License
942 stars 69 forks source link

How would I view an Rlib model once I have trained it? #60

Closed Jetpackjules closed 1 year ago

ryash072007 commented 1 year ago

How would I view an sb3 model once I have trained it?

You can check https://github.com/ryash072007/godot_rl_agents_forked/blob/main/godot_rl/backend/sb3.py.

Jetpackjules commented 1 year ago

Thanks!

But what Rlib? is it similar?

ryash072007 commented 1 year ago

I do not know about Rllib as I am unable to use it on my pc, sorry.

edbeeching commented 1 year ago

For rllib you should be able to launch with the same command line args used for training and add --eval

Jetpackjules commented 1 year ago

For rllib you should be able to launch with the same command line args used for training and add --eval

Does this still work with just gdrl?

Also, is there a way to pick a previously trained model? (The ones that have their logs saved in the ray_wrapper folder...)

edbeeching commented 1 year ago

Hey @Jetpackjules , did you resolve this?

Jetpackjules commented 1 year ago

Not exactly, I just switched to Sb3.

Also, I did not have time to reply before the thread was closed, but I read the hugging face documentation, which helped a LOT with my project! Thank you for this awesome plugin!

edbeeching commented 1 year ago

Ok well, that is good I guess. I will close this issue then.