I am trying to familiarize myself with the safe-control environment and followed the example "verbose_api.py".
I've encountered with an issue that also reproduced in the google Colab version attached in the repo.
Here is the print of the error invoked while running it:
python3 verbose_api.py --system cartpole --overrides verbose_api.yaml
pybullet build time:
/.../safe-control-gym/safe_control_gym/utils/configuration.py:73: UserWarning: No agent/task config given.
warnings.warn("No agent/task config given.")
Traceback (most recent call last):
File "/.../lib/python3.8/site-packages/munch/init.py", line 103, in getattr
return object.getattribute(self, k)
AttributeError: 'Munch' object has no attribute 'task'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/.../lib/python3.8/site-packages/munch/init.py", line 106, in getattr
return self[k]
KeyError: 'task'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "verbose_api.py", line 160, in
run()
File "verbose_api.py", line 32, in run
if config.task == 'cartpole':
File "/.../lib/python3.8/site-packages/munch/init.py", line 108, in getattr
raise AttributeError(k)
AttributeError: task
Hi,
I am trying to familiarize myself with the safe-control environment and followed the example "verbose_api.py". I've encountered with an issue that also reproduced in the google Colab version attached in the repo.
Here is the print of the error invoked while running it:
python3 verbose_api.py --system cartpole --overrides verbose_api.yaml pybullet build time: /.../safe-control-gym/safe_control_gym/utils/configuration.py:73: UserWarning: No agent/task config given. warnings.warn("No agent/task config given.") Traceback (most recent call last): File "/.../lib/python3.8/site-packages/munch/init.py", line 103, in getattr return object.getattribute(self, k) AttributeError: 'Munch' object has no attribute 'task'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/.../lib/python3.8/site-packages/munch/init.py", line 106, in getattr return self[k] KeyError: 'task'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "verbose_api.py", line 160, in
run()
File "verbose_api.py", line 32, in run
if config.task == 'cartpole':
File "/.../lib/python3.8/site-packages/munch/init.py", line 108, in getattr
raise AttributeError(k)
AttributeError: task
Thanks, Sol