Comments (6)
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.
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.
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.
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.
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.
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)
- ValueError: could not broadcast input array from shape (23,) into shape (27,) HOT 2
- SAC model not properly saved HOT 5
- [Question] Pong environment with A2C not learning with example code HOT 1
- [Question] The error about DQN--ep_len_mean&ep_rew_mean output HOT 1
- [Question] How to access to rollout (logger) data in callback HOT 2
- [Feature Request] Allow users to define gradient steps as a fraction of rollout time-steps HOT 3
- SubprocVecEnv Sets Out-of-Range Seeds for My Environments (ScenarioNet Enviroment) HOT 8
- [Question] A error while using SAC and DDPG HOT 1
- [Question] LSTM and SAC - Am I understanding the docs correctly? HOT 3
- [Question] Why torch model in c++ got totally different output from python HOT 4
- [Bug]: Manually setting net_arch=None causes crash when loading model HOT 3
- [Question] Why resample SDE noise matrices in PPO optimzation? HOT 4
- [Question] SAC, a torch model becomes a bool somehow HOT 1
- [Question] Running Multi-threaded PPO training independently with no interference HOT 3
- Setting up seed in Custom Gym environment HOT 5
- What does the output of model.learn mean? HOT 3
- [Feature Request] Random Network Distillation with PPO (RND-PPO) HOT 1
- [Question] Optimization of memory usage HOT 8
- [Question] Relationship between n_step, episode, and advantage in episodic tasks HOT 4
- You must pass an environment when using `HerReplayBuffer`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-baselines3.