Skip to content

v0.0.4

  • v0.0.4
  • d701827
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
  • Choose a tag to compare

  • v0.0.4
  • d701827
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@krzentner krzentner tagged this 24 Jun 23:57
There are two main things here:
 - `Box.flatten_n` and `Box.unflatten_n` should work on `Iterables`, so
   we need to use `len()` instead of checking the shape field.
 - Weights passed to `Discrete.weighted_sample` may not be normalized.
   Normalize them.

Also, add tests to make sure that these specific breakages don't happen
again.

Note that there is still a garage test failure due to incompatibilities
with the `gym.Box` constructor, but I'll fix that in garage.
Assets 2
Loading