[Bug Report] Check_Env numpy format issues
See original GitHub issueDescribe the bug Using check_env in a custom env that returns a numpy formated value leads to an AssertionError.
Code example
I made a testcase, based on the offical guide 5.custom_gym_env.
In the section “Testing the environment (Bug location)” the check_env was added, which leads to the following:
AssertionError:
The observation returned by the reset()
method does not match the given observation space
Testcase
(np._bool error for “done” also appears after enclosing the returned observation value with [], which surpresses the error.)
System Info
- colab
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
Reporting bugs — NumPy v1.23 Manual
Reporting bugs#. File bug reports or feature requests, and make contributions (e.g. code patches), by opening a “new issue” on GitHub: NumPy Issues: ......
Read more >Bug Reports - Quarto
We want to hear about Quarto bugs and, we want to fix those bugs! The following guidance will help us be as efficient...
Read more >2.2. Advanced NumPy - Scipy Lecture Notes
Why; Reporting bugs; Contributing to documentation; Contributing features ... is the sub-dtype in the structured data, corresponding to the name format ...
Read more >Contributing to pandas — pandas 1.5.2 documentation
Bug reports must: Include a short, self-contained Python snippet reproducing the problem. You can format the code nicely by using GitHub Flavored Markdown:....
Read more >Bug reports and feature requests - Apache Arrow
The Jira project name for Arrow is “ARROW”. Required permissions¶. Any registered Apache Software Foundation (ASF) Jira account may create or assign Jira...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The environment works but for bad reasons (no strong typing enforced by Python). This could lead to hard to debug issues.
The error message is pretty explicit and it is not related to that issue.
probably yes, but you have to know we don’t do tech support in Github issues. You may ask the question on StackOverflow or similar.