question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run PointNav agent locally

See original GitHub issue

While running the “test_locally_pointnav_rgbd.sh” script, I get the following error:

2020-03-24 10:15:01,170 Initializing dataset PointNav-v1
2020-03-24 10:15:01,171 initializing sim Sim-v0
2020-03-24 10:15:02,310 Initializing task Nav-v0
Traceback (most recent call last):
  File "agent.py", line 26, in <module>
    main()
  File "agent.py", line 21, in main
    challenge = habitat.Challenge()
  File "/habitat-api/habitat/core/challenge.py", line 16, in __init__
    super().__init__(config_paths)
  File "/habitat-api/habitat/core/benchmark.py", line 30, in __init__
    self._env = Env(config=config_env)
  File "/habitat-api/habitat/core/env.py", line 102, in __init__
    dataset=self._dataset,
  File "/habitat-api/habitat/tasks/registration.py", line 21, in make_task
    return _task(**kwargs)
  File "/habitat-api/habitat/tasks/nav/nav.py", line 968, in __init__
    super().__init__(config=config, sim=sim, dataset=dataset)
  File "/habitat-api/habitat/core/embodied_task.py", line 241, in __init__
    entities_config=config,
  File "/habitat-api/habitat/core/embodied_task.py", line 269, in _init_entities
    entity_type = register_func(entity_cfg.TYPE)
  File "/opt/conda/envs/habitat/lib/python3.6/site-packages/yacs/config.py", line 141, in __getattr__
    raise AttributeError(name)
AttributeError: TYPE

When I traced the error, I found that the task type specified in “challenge_pointnav2020.local.rgbd.yaml” file is not being read by yacs. Please let me know how I can fix this problem.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mohanksriramcommented, Mar 25, 2020

Works with the latest code, Thank you @abhiskk and @dhruvbatra 😃

0reactions
ghostcommented, Mar 25, 2020

@mathfac yes, it works for me now. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Auxiliary Tasks and Exploration Enable ObjectGoal Navigation
ObjectGoal Navigation (OBJECTNAV) is an embodied task wherein agents are to navigate to an object instance in an un- seen environment.
Read more >
Habitat Challenge 2021
In PointNav, an agent is spawned at a random starting position and orientation in an unseen environment and asked to navigate to target...
Read more >
Is Mapping Necessary for Realistic ... - CVF Open Access
Can an autonomous agent navigate in a new environment without building an explicit map? For the task of PointGoal navigation ('Go to ∆x,...
Read more >
Implementing Jump Start Reinforcement Learning in RLLib
Greetings, I am applying the paper JSRL to visual navigation (pointnav) task ... API) and I was able to use Rllib for training...
Read more >
An Exploration of Embodied Visual Exploration
the agent initially start at the origin of the map, i.e., p0 = 0, ... to these skills are area visited, pointnav SPL,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found