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.

Clarification for "training steps" in habitat paper and the implementation

See original GitHub issue

In Figure 3 of habitat paper, the number of steps taken in training and corresponding SPL scores are reported.

I’m basically running habitat_baselines/train_ppo.py with the following default params

--num-processes 4
--num-steps 128
--num-mini-batch 4
--num-updates 100000

Under this setting, how many steps does the agent experience?

If I understand the paper and the implementation correctly, the number of steps this can experience should be 128 * 100000 * 4 = 51.2M.

But when I evaluated the trained agent by using habitat_baselines/evaluate_ppo.py, the resulting SPL score was way lower than expected. ( I got 0.25 on RGB, whereas Fig3 says it should be above 0.4)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
erikwijmanscommented, Jun 7, 2019

The number of steps of experience a model is trained for can be determined by the number of processes (--num-processes), the number of steps per rollout (--num-steps), and the number of updates/rollouts (--num-updates). You have the correct math for number of steps of experience, i.e. 128 * 100000 * 4 = 51.2M, and that is what you should refer to for comparing to results in the paper 😃

For recreating val numbers, I you’ll need --count-test-episodes 994 and --num-processes 1 as we need to fix the splitting logic (#89). The numbers may not be exactly the same, but they should be close.

2reactions
erikwijmanscommented, Jun 7, 2019

--count-test-episodes 100 will only evaluate 100 episodes. There are 994 episodes in val, looks like you got unlucky with the ones it randomly selected 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hands-on Guide to AI Habitat: A Platform For Embodied AI ...
The process of training and testing the agent in simulation is safe, cheap and systematic. Once the development and testing phases are completed ......
Read more >
ESA Section 7 Consultation | U.S. Fish & Wildlife Service
The intent of a biological opinion is to analyze the effects of the proposed action to the listed species or designated critical habitat....
Read more >
A 'How to' guide for interpreting parameters in habitat ...
Step -selection analyses model transitions or 'steps' connecting sequential locations in geographical space using a selection-free movement ...
Read more >
Training Needs Assessment and Training Outcome Evaluation
This manual provides the basic theory of, and affordable methods for, conducting training needs assessment and training outcome evaluation along with concrete ...
Read more >
Habitat Evaluation: Guidance for the Review of Environmental ...
The following general discussion of habitat conservation begins with a summary of the important issues and steps invoived in assessinghabitats, follows with a ......
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