Skip to content

Can go beyond the code line " idx_to_state" #13

Description

@salmankdurrani

state_idx = idx_to_state(env, state)

how can I fix this?

idx_to_state
position_idx = int((state[0] - env_low[0]) / env_distance[0])

TypeError: only size-1 arrays can be converted to Python scalars

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions