ECCV 2020 Tutorial | Habitat-Lab for Navigation | RL Training | Getting error on config.defrost() #1732
Unanswered
vaibhavoutat
asked this question in
Q&A
Replies: 1 comment
-
You can do something like this: from habitat.config import read_write
with read_write(config):
config.field = new_value Note: You are probably using newer version of habitat-lab. Read the doc on hydra as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am following the ECCV 2020 Turorial, particularly the Habitat-Lab for Navigation.
I am running the colab locally following the installation instruction of habitat from the official documentation.
When i run the RL training i get the following error .
python examples/webdemos/habitatlab_navigation.py
Traceback (most recent call last):
File "/home/deepbot/habitat/habitatagain/habitat-lab/examples/webdemos/habitatlab_navigation.py", line 139, in
config.defrost()
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 359, in getattr
self._format_and_raise(key=key, value=None, cause=e)
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/_utils.py", line 819, in format_and_raise
_raise(ex, cause)
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 351, in getattr
return self._get_impl(
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
child = self._get_node(
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 475, in _get_node
self._validate_get(key)
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 164, in _validate_get
self._format_and_raise(
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/home/deepbot/anaconda3/envs/habitat/lib/python3.9/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
omegaconf.errors.ConfigAttributeError: Key 'defrost' is not in struct
full_key: defrost
object_type=dict
Tried downgrading the omegaconf , that did not work for me.
Can someone kindly help?
Beta Was this translation helpful? Give feedback.
All reactions