Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registry creation #79

Merged
merged 4 commits into from
Oct 6, 2024
Merged

Registry creation #79

merged 4 commits into from
Oct 6, 2024

Conversation

strakam
Copy link
Owner

@strakam strakam commented Oct 6, 2024

Gentlemen,

I just wanted to tell you whats new:

  • Envs are now created via gym.make and users can create their own defaults via gym.register. Gym make is nice because it checks whether environment is working as it should (for example it caught that .reset() with fixed seed gave two different observations.
  • New AgentFactory that will create agents
  • SB3 checks are subset of gym.check_env, so I removed them

This message is more important than the code, you don't need to look at the code changes.

Hopefully there will be only one more pull request before v1.0 -- the one showcasing how to use some RL framework for this game.

Cheers 🚀

.. also add AgentFactory
.. resolve errors from checks, improve examples, finish registry system
@strakam strakam requested review from jdujava and Puckoland October 6, 2024 18:57
@strakam strakam added the enhancement New feature or request label Oct 6, 2024
README.md Outdated Show resolved Hide resolved
@strakam strakam merged commit d7aa16c into master Oct 6, 2024
2 checks passed
pass

@staticmethod
def make_agent(agent_type: str, **kwargs) -> Agent:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be nice to name it simply make. We know that it will make an agent since it is AgentFactory.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, will do in later updates, thanks

@strakam strakam deleted the registry-creation branch October 12, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants