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.

[feature request] Low-level API

See original GitHub issue

Having a lower level API can be helpful for some users to have more control over the training loop. The low-level API is particularly useful in Hierarichal RL or Multi-Agent RL problems. One idea is to provide an API like this repo from @eleurent:


for episode in episodes:
    while not done:
        action = agent.act(state)
        next_state, reward, done, info = env.step(action)
        agent.record(state, action, next_state, reward, done, info)

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
Miffylicommented, Jun 11, 2020

Agreed, this question came up in sb repository quite often. Another related thing we could do is to make getting action probabilities/values bit easier / clarified.

2reactions
mhtb32commented, Jun 11, 2020

Thanks. I think it is worth adding a tutorial about using low-level API to docs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BatMUD > Low level API feature request
- API to control all windows and do everything you can do to them with mouse (add tabs etc) from macros. It seems...
Read more >
[Feature request] Low-level API for HashAlgorithm · Issue #18927 ...
When I read a http stream (not support seek), I need to compute sha1 and md5 in same time. I don't want to...
Read more >
[mini feature request] C# can't see some low level API ...
Hello, While conforming to current Unity's IL2CPP limitation [IL2CPP doesn't support marshaling delegates that point to instance methods] I found out that ...
Read more >
Low-level request handler APIs - Vespa Documentation
RequestHandler interface defines a component that is capable of acting as a handler for a Request. This document explains how to implement and...
Read more >
Writing and debugging a low-level feature that relies on HTTP
This allows for things like calculating a checksum and then inserting it into the request as a header. How the SDK sends requests...
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