Replies: 3 comments 1 reply
-
Hi, I think you want to make sure that both the action returned by |
Beta Was this translation helpful? Give feedback.
0 replies
-
I should have mentioned both step() and reset() throw the same warning
…On Mon, 2 Oct 2023 at 17:14, Yann Bouteiller ***@***.***> wrote:
Hi, I think you want to make sure that both the action returned by
get_default_action and the one that you send to step are numpy arrays of
dtype int64
—
Reply to this email directly, view it on GitHub
<#61 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIKWRWU25YLNMN6Z7N7VRBDX5LK7BAVCNFSM6AAAAAA5POMOEGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TCNRWGQYDI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
man... what did i break...
[image: image.png]
grrr
…On Mon, 2 Oct 2023 at 18:04, Yann Bouteiller ***@***.***> wrote:
It is probably get_default_action() that returns an action of the wrong
dtype then
—
Reply to this email directly, view it on GitHub
<#61 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIKWRWX65MS45HTM5MKHTTLX5LQY7AVCNFSM6AAAAAA5POMOEGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TCNRWHE4DI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
step() and reset(() give me this warning:
WARN: The obs returned by the `reset()` method was expecting numpy array dtype to be int64, actual type: int32
Pulling my hair a bit on this one.
The observation looks "int64" to me (except maybe the action history at the end?)
(array([1], dtype=int64), array([0], dtype=int64), array([600], dtype=int64), array([1], dtype=int64), array([0], dtype=int64), array([0], dtype=int64), array([0]), array([0]), array([0]), array([0]))
Beta Was this translation helpful? Give feedback.
All reactions