Skip to content

Conversation

@zhaolongkzz
Copy link

#53

Change a random function to the new gym, and delete prng function.

@veds12
Copy link

veds12 commented Jul 9, 2020

@zhaolongkzz why has this PR not been merged yet? I encountered the same problem. Are there any other changes that need to be made?

@zhaolongkzz
Copy link
Author

@veds12 you can install gym==0.10.5 or modify code like:
in code multiagent-particle-envs/multiagent/multi_discrete.py

import gym
# from gym.spaces import prng             # prng has been canceled

# and change:
random_array = np.random.RandomState().rand(self.num_discrete_space)

@veds12
Copy link

veds12 commented Jul 9, 2020

Ya I figured that out from one of the issues. But why not merge this?

@zhaolongkzz
Copy link
Author

@veds12 maybe nobody updates this repository

@YanjieZe
Copy link

This helps.

@Weixw99
Copy link

Weixw99 commented Nov 16, 2022

good job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants