8000 feat(connector): random walk board generator by mwolinska · Pull Request #120 · instadeepai/jumanji · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(connector): random walk board generator #120

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

Merged

Conversation

mwolinska
Copy link
Contributor

Creating placeholder board generator, board class and updating tests

@CLAassistant
Copy link
CLAassistant commented Apr 21, 2023

CLA assistant check
All committers have signed the CLA.

@mwolinska mwolinska force-pushed the feat-connector-board-generation branch from 5a8f4ef to a81171b Compare April 21, 2023 20:10
@mwolinska mwolinska changed the title feat: sequential random walk board generator feat(connector): sequential random walk board generator Apr 21, 2023
@mwolinska mwolinska force-pushed the feat-connector-board-generation branch 4 times, most recently from 61a26ce to a12b23c Compare April 24, 2023 18:06
@mwolinska mwolinska closed this Apr 27, 2023
@mwolinska mwolinska force-pushed the feat-connector-board-generation branch from fb15e20 to 36ab997 Compare April 27, 2023 11:56
@mwolinska mwolinska reopened this Apr 27, 2023
@mwolinska mwolinska changed the title feat(connector): sequential random walk board generator feat(connector): parallel random walk board generator Apr 28, 2023
@mwolinska mwolinska force-pushed the feat-connector-board-generation branch from af8a0a7 to d54ab1c Compare May 1, 2023 09:28
Copy link
Collaborator
@clement-bonnet clement-bonnet left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution. I am looking forward to testing this new generator that guarantees solvability. There are lots of uses of scan when the computation has nothing inherently sequential. I believe replacing them with vmap will make the generator much faster. Please let me know if you have any questions.

@clement-bonnet
Copy link
Collaborator

FYI, we just merge #119 which makes Connector a single-agent environment (aggregates rewards and also simplifies the observation). Though this should not change this PR I think.

@clement-bonnet clement-bonnet marked this pull request as ready for review May 12, 2023 14:09
@clement-bonnet clement-bonnet changed the title feat(connector): parallel random walk board generator feat(connector): random walk board generator May 12, 2023
@mwolinska mwolinska force-pushed the feat-connector-board-generation branch 3 times, most recently from 0ba4336 to 7999007 Compare May 15, 2023 15:14
feat: updating tests and improving generation_methods

bugfix: adjusting tests following vmap updates

feat: refactoring generation methods into generator - refactoring generation methods into one generator class and updating codebase to pass linting tests

feat: updating typing in Agent dataclass

docs: updating docstrings in generatory.py
bugfix: add extra line for black


bugfix: removing unused import


Empty commit
@ojorgensen ojorgensen force-pushed the feat-connector-board-generation branch from 6511ecd to 3549547 Compare May 15, 2023 16:47
Copy link
Collaborator
@clement-bonnet clement-bonnet left a comment

Choose a reason for hiding this comment

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

Hi, I left a few more comments, almost there!

mwolinska and others added 2 commits May 19, 2023 20:14
Co-authored-by: Clément Bonnet <56230714+clement-bonnet@users.noreply.github.com>
Copy link
Collaborator
@sash-a sash-a left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution! Would be great if we could avoid the code duplication 😄

Copy link
Collaborator
@clement-bonnet clement-bonnet left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

@clement-bonnet clement-bonnet merged commit e1a80fa into instadeepai:main May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants
0