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.

Can environment feed model data in addition to observations?

See original GitHub issue

Hey!

I would like to know if the obs returned by the env.step is the only input to the model or if there is a possibility that the environment adds additional info with the returned obs?

I am not sure if the Markov state is equal to the observation provided.

Adding part of the code I refer to:

obs = env.reset()
for i in range(10000):
  action, _state = model.predict(obs, deterministic=True)
  obs, reward, done, info = env.step(action)
  if done:
    env.render()
    obs = env.reset()
    break

Thank you for your time!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
araffincommented, Aug 30, 2021

So I understand that it is safe to refer to obs as the state in MDP?

yes. obs is what is called state in MDP, but in practice, as the env is not always fully observable, observation is a more general term.

0reactions
Zymoocommented, Aug 30, 2021

Appreciate that, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should a model be re-trained if new observations are available?
When new observations are available, there are three ways to retrain your model: Online: each time a new observation is available, you use...
Read more >
Integrating Multiscale Observations of US Waters (2008)
Read chapter 3 Integrating Observations, Models, and Users : Water is essential to life for humans and their food crops, and for ecosystems....
Read more >
Observations Data Model 2: A community information model ...
We report an information model for spatially discrete Earth observations. •. Scientists' ability to capture metadata describing observations is improved.
Read more >
How can Big Data and machine learning benefit environment ...
EWM Big Data may originate from (a) high-frequency data products derived from Earth observation systems, (b) multi-sensor data collected from ...
Read more >
Q&A: How do climate models work? - Carbon Brief
Climate models are run using data on the factors that drive the climate, and projections about how these might change in the future....
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