-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
Wave Function Collapse Environments #371
Wave Function Collapse Environments #371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great overall, left some minor comments on the PR.
@pseudo-rnd-thoughts Thanks for the tip, I have updated the dockerfile but it seems to be having trouble identifying the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you replace in pre-commit-config
flake8 # - --ignore
with - --ignore=E203, W503
There is an issue that Literal
doesn't exist in typing, rather typing-extensions within py 3.7, but we can actually drop py 3.7 now with python no longer supporting it
@jysdoran It looks like there is an issue with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you check that the wfclogic
functions are all actually used
Also we are missing the copyright docstring at the top of each wfclogic
file
@jysdoran Hey, how is this going? Then I think we are close to merging the PR |
@pseudo-rnd-thoughts, I think everything is passing and should be ready to go. I refactored it such that the environments are registered but the test cases are skipped. I had to add a dummy class to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, sorry for being so slow about approving this. Yes, I believe you have addressed all of questions
e726259
into
Farama-Foundation:master
Description
This PR is still work in progress.
This PR implements a new feature for Minigrid that allows procedural generation of environments using the Wave Function Collapse algorithm (adapted from this python implementation)
I tried to port the relevant git history of both external repository sources but it has made things a bit messy. Pull requests usually have a squash on merge function so it probably won't affect the main branch but I can go in and try to squash some commits together before then too. Most of the relevant adaptation changes are by me at the end of the commit history.
TODO:
Type of change
Please delete options that are not relevant.
Screenshots
These are some example environments generated by the SimpleMaze preset:
Checklist:
pre-commit
checks withpre-commit run --all-files
(seeCONTRIBUTING.md
instructions to set it up)