Code Monkey home page Code Monkey logo

otoworld's People

Contributors

davidterpay avatar grantgasser avatar omkar-ranadive avatar pseeth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hanabhp tomhirsh

otoworld's Issues

Refactor evaluation code

  • Clean up evaluation.ipynb notebook
    • plug and play essentially (e.g. avoid thing where GT and EST sources getting mixed up/backwards)
    • make it easy for people to evaluate their results
  • Refactor plot_runs.py
    • so it stores data automatically when experiments are running
    • makes no assumptions (e.g. line assuming validation episodes every 5 episodes)
  • Anything else that makes it easier to evaluate the trained model

got an unexpected keyword argument 'agent_loc' for env

when I run the following code:

env = gym.make(
    "audio-room-v0",
    room_config = room.generate(),
    agent_loc = agent_loc,
    corners = room.corners,
    max_order = 10,
    step_size = 1.0,
    acceptable_radius = 0.8,
)

Occured the errors as followings:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-6-47bcc3b1313f> in <module>
      6     max_order = 10,
      7     step_size = 1.0,
----> 8     acceptable_radius = 0.8,
      9 )

~/anaconda3/envs/oto/lib/python3.7/site-packages/gym/envs/registration.py in make(id, **kwargs)
    143 
    144 def make(id, **kwargs):
--> 145     return registry.make(id, **kwargs)
    146 
    147 def spec(id):

~/anaconda3/envs/oto/lib/python3.7/site-packages/gym/envs/registration.py in make(self, path, **kwargs)
     88             logger.info('Making new env: %s', path)
     89         spec = self.spec(path)
---> 90         env = spec.make(**kwargs)
     91         # We used to have people override _reset/_step rather than
     92         # reset/step. Set _gym_disable_underscore_compat = True on

~/anaconda3/envs/oto/lib/python3.7/site-packages/gym/envs/registration.py in make(self, **kwargs)
     58         else:
     59             cls = load(self.entry_point)
---> 60             env = cls(**_kwargs)
     61 
     62         # Make the environment aware of which spec it came from.

TypeError: __init__() got an unexpected keyword argument 'agent_loc'

would you help me?

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.