Giter VIP home page Giter VIP logo

rest's People

Contributors

georgao35 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

chunchuanlv

rest's Issues

KeyError:"num_envs"

Thank you for impressive research.
I want to reproduce your result .
However, when I follow your training half cheetah example,

python main.py --env HalfCheetah --expname halfcheetah --epochs 50 --num_skills 10

i got a following error:

/home/admin641/anaconda3/envs/qs_ReST/lib/python3.8/site-packages/gym/envs/registration.py:498: UserWarning: WARN: Overriding environment Humanoid-v4 already in registry.
  logger.warn(f"Overriding environment {new_spec.id} already in registry.")
/home/admin641/anaconda3/envs/qs_ReST/lib/python3.8/site-packages/gym/envs/registration.py:498: UserWarning: WARN: Overriding environment Ant-v4 already in registry.
  logger.warn(f"Overriding environment {new_spec.id} already in registry.")
/home/admin641/anaconda3/envs/qs_ReST/lib/python3.8/site-packages/gym/envs/registration.py:498: UserWarning: WARN: Overriding environment HalfCheetah-v4 already in registry.
  logger.warn(f"Overriding environment {new_spec.id} already in registry.")
Logging data to ./data/HalfCheetah/2023-05-23T15-25-28/halfcheetah/halfcheetah_s0/progress.txt
Saving config:

{
    "algo":     "PPO",
    "data_dir": "./data/HalfCheetah/2023-05-23T15-25-28/",
    "env_name": "HalfCheetah",
    "epochs":   50,
    "exp_name": "halfcheetah",
    "expname":  "halfcheetah",
    "logger":   {
        "<simulator_utils.logx.EpochLogger object at 0x7fb8f15dabe0>":  {
            "epoch_dict":       {},
            "exp_name": "halfcheetah",
            "first_row":        true,
            "log_current_row":  {},
            "log_headers":      [],
            "output_dir":       "./data/HalfCheetah/2023-05-23T15-25-28/halfcheetah/halfcheetah_s0",
            "output_file":      {
                "<_io.TextIOWrapper name='./data/HalfCheetah/2023-05-23T15-25-28/halfcheetah/halfcheetah_s0/progress.txt' mode='w' encoding='UTF-8'>":  {
                    "mode":     "w"
                }
            }
        }
    },
    "logger_kwargs":    {
        "exp_name":     "halfcheetah",
        "output_dir":   "./data/HalfCheetah/2023-05-23T15-25-28/halfcheetah/halfcheetah_s0"
    },
    "num_skills":       10,
    "save_dir": "./data/"
}
Traceback (most recent call last):
  File "main.py", line 97, in <module>
    train(env_name=args.env,
  File "main.py", line 26, in train
    simulator = Simulator(config[env_name], expname)
  File "/home/admin641/qs/ReST-main/simulator_utils/simulator.py", line 16, in __init__
    self.num_envs = config['num_envs']
KeyError: 'num_envs'

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.