GithubHelp home page GithubHelp logo

Comments (5)

EmbersArc avatar EmbersArc commented on September 22, 2024

It's looking for the unofficial rocket lander environment. This branch should have the necessary changes on top of the latest version of gym: https://github.com/EmbersArc/gym/tree/addRocketLander

from ppo.

ksajan avatar ksajan commented on September 22, 2024

I did change the gym env/box2d/env folder by adding rocket_lander.py and changing __init.py file. but It is still showing error as same "GymEnvironment' object has no attribute 'env'". What am I doing wrong?

from ppo.

EmbersArc avatar EmbersArc commented on September 22, 2024

Did you change both init files?

from ppo.

ksajan avatar ksajan commented on September 22, 2024

yeah, I did in my original gym folder which i cloned and installed using pip install e . command

from ppo.

ksajan avatar ksajan commented on September 22, 2024

it's showing this error
Traceback (most recent call last):
File "ppo.py", line 67, in
env = GymEnvironment(env_name=env_name, log_path="./PPO_log", skip_frames=5)
File "/home/sajan/Documents/Landing-a-SpaceX-Falcon-Heavy-Rocket-master/agents/environment.py", line 20, in init
self.env = gym.make(env_name)
File "/home/sajan/gym/gym/envs/registration.py", line 183, in make
return registry.make(id, **kwargs)
File "/home/sajan/gym/gym/envs/registration.py", line 126, in make
env = spec.make(**kwargs)
File "/home/sajan/gym/gym/envs/registration.py", line 89, in make
cls = load(self._entry_point)
File "/home/sajan/gym/gym/envs/registration.py", line 16, in load
fn = getattr(mod, attr_name)
AttributeError: module 'gym.envs.box2d' has no attribute 'RocketLander'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/home/sajan/Documents/Landing-a-SpaceX-Falcon-Heavy-Rocket-master/agents/environment.py", line 137, in close
self.env.close()
AttributeError: 'GymEnvironment' object has no attribute 'env'

from ppo.

Related Issues (6)

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.