instadeepai / jumanji

🕹️ A diverse suite of scalable reinforcement learning environments in JAX
https://instadeepai.github.io/jumanji
Apache License 2.0
645 stars 80 forks source link

fix: flatpack was training with ints #234

Closed sash-a closed 8 months ago

sash-a commented 8 months ago

flatpack training was returning an error: ValueError: data type <class 'numpy.int32'> not inexact because we changed the dtypes of the observation to ints, I have casted it to floats in the training.

Thanks @RuanJohn for reporting this :smile: