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

[Bug] "Invalid case." during induction_composition() in examples #108

Open
kripper opened this issue May 17, 2024 · 0 comments
Open

[Bug] "Invalid case." during induction_composition() in examples #108

kripper opened this issue May 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kripper
Copy link

kripper commented May 17, 2024

Hello,

I was trying to fix the examples Pong and Pong2, but it seems there are some deeper issues.
Maybe you can help here:
https://github.com/bowen-xu/PyNARS/pull/107

Please note that the atariari interface changed and I had to fix the wrappers:

    1) site-packages/atariari/benchmark/wrapper.py        
        #observation, reward, done, info = self.env.step(action)
        #return observation, reward, done, self.info(info)
        observation, reward, done, truncated, info = self.env.step(action)
        return observation, reward, done, truncated, self.info(info)
        
    2) site-packages/gym/wrappers/order_enforcing.py
        #observation, reward, done, info = self.env.step(action)
        #return observation, reward, done, info
        return self.env.step(action)
@kripper kripper added the bug Something isn't working label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant