rmst / rtrl Goto Github PK
View Code? Open in Web Editor NEWPyTorch implementation of our paper Real-Time Reinforcement Learning (NeurIPS 2019)
License: MIT License
PyTorch implementation of our paper Real-Time Reinforcement Learning (NeurIPS 2019)
License: MIT License
I did as instructed:
pip install git+https://github.com/rmst/rtrl.git
python -m rtrl run rtrl:RtacTraining Env.id=Pendulum-v0
Then the error shows:
Traceback (most recent call last):
File "/home/baiming/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/baiming/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/baiming/anaconda3/lib/python3.7/site-packages/rtrl/main.py", line 26, in
run(parse_args(*args))
File "/home/baiming/anaconda3/lib/python3.7/site-packages/rtrl/main.py", line 22, in parse_args
return partial_from_args(func, kwargs)
File "/home/baiming/anaconda3/lib/python3.7/site-packages/rtrl/util.py", line 148, in partial_from_args
keywords[key] = partial_from_args(value, sub_keywords)
File "/home/baiming/anaconda3/lib/python3.7/site-packages/rtrl/util.py", line 144, in partial_from_args
param = inspect.signature(func).parameters[key]
KeyError: 'id'
Does anyone have the same issue?
I installed the repo
pip install git+https://github.com/rmst/rtrl.git
but when I train an RTAC agent on the basic Pendulum-v0
task run
python -m rtrl run rtrl:RtacTraining Env.id=Pendulum-v0
the problem occured , and I have tried in win10 and linux, results are both like this:
Traceback (most recent call last):
File "/root/anaconda3/envs/rt/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/root/anaconda3/envs/rt/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/root/code_xb/rtrl/rtrl/__main__.py", line 26, in <module>
run(parse_args(*args))
File "/root/code_xb/rtrl/rtrl/__main__.py", line 22, in parse_args
return partial_from_args(func, kwargs)
File "/root/code_xb/rtrl/rtrl/util.py", line 148, in partial_from_args
keywords[key] = partial_from_args(value, sub_keywords)
File "/root/code_xb/rtrl/rtrl/util.py", line 143, in partial_from_args
assert key in params, f"'{key}' is not a valid parameter of {func}. Valid parameters are {tuple(params.keys())}."
AssertionError: 'id' is not a valid parameter of functools.partial(<class 'rtrl.envs.GymEnv'>, id='Pendulum-v0', real_time=True). Valid parameters are ('args', 'kwds').
Could you help me?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.