Giter Club home page Giter Club logo

Comments (6)

araffin avatar araffin commented on June 2, 2024

Please have a careful look at #982 (comment)

AssertionError: Your environment must inherit from the gymnasium.Env

Please fix any issue found by the env checker before posting an issue about custom env.

from stable-baselines3.

Hamza-101 avatar Hamza-101 commented on June 2, 2024

The prompt asked to give minimal viable working code which is why I gave the steps. Giving these 4 functions was also written in details box, which is why I attached it.

My situation is simlar to No error in inheriting
Just wants me to switch to gynasium, can't cause it wouldn't install tried multiple times on different os.

So it can be ignored.

from stable-baselines3.

qgallouedec avatar qgallouedec commented on June 2, 2024

What do you mean "it wouldn't install"?

minimal viable working code which is why I gave the steps

It far from being minimal. Providing a MRE would help

from stable-baselines3.

Hamza-101 avatar Hamza-101 commented on June 2, 2024

What do you mean "it wouldn't install"?

box2d wouldn't install whenever I tried to setup gymnasium. Tried many times, manually and otherwise.

It far from being minimal. Providing a MRE would help

This is the "minimal" code I could provide while keeping it working.

from stable-baselines3.

qgallouedec avatar qgallouedec commented on June 2, 2024

Gymnasium and box2d are maintained, if you can't install it, open an issue on its GitHub to sort this out. Plus it seems like you've installed it:

Gymnasium: 0.29.1

Please make sure to understand what minimal means: #982 (comment) and https://stackoverflow.com/help/minimal-reproducible-example: I should be able to copy pate you code and run it. I don't have PPonew.py for example.

from stable-baselines3.

Hamza-101 avatar Hamza-101 commented on June 2, 2024

Despite it, it won't work. I'll try that too. I know what minimal is but I have provided files, and this is the least amount needed to run it. Tried my best to make it small.

from stable-baselines3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.