You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While to support more general API and be json friendly we designed agent position and state as List[float]np.array(float) is more efficient in terms of communication between HSIM (Habitat Simulator) as well as is more native for PyTorch usage.
Steps for implementation:
Find List[float] in core interfaces and check if it's convenient to switch to np.array(float) and do the switch. Switch in core implementation classes as well.
Update Dataset reading and writing code to do conversion between List[float] and np.array(float), as in np.array isn't json serializable.
Run mypy to check API are consistent and pytest.
The text was updated successfully, but these errors were encountered:
Motivation
While to support more general API and be json friendly we designed agent position and state as
List[float]
np.array(float)
is more efficient in terms of communication between HSIM (Habitat Simulator) as well as is more native for PyTorch usage.Steps for implementation:
List[float]
in core interfaces and check if it's convenient to switch to np.array(float) and do the switch. Switch in core implementation classes as well.List[float]
andnp.array(float)
, as innp.array
isn't json serializable.mypy
to check API are consistent andpytest
.The text was updated successfully, but these errors were encountered: