openai / baselines

OpenAI Baselines: high-quality implementations of reinforcement learning algorithms
MIT License
15.83k stars 4.88k forks source link

numpy's np.bool is deprecated #1230

Open xan3c opened 5 months ago

xan3c commented 5 months ago

np.bool is deprecated in versions >=1.24. These commits will just change np.bool to bool for the baselines.common.vec_env subpackage, as np.bool is just an alias for the builtin bool.