uber-research / poet

Paired Open-Ended Trailblazer (POET) and Enhanced POET
https://eng.uber.com/poet-open-ended-deep-learning/
Apache License 2.0
243 stars 53 forks source link

Python version required for POET #9

Open Lss1242 opened 1 year ago

Lss1242 commented 1 year ago

Hey, I have tried to run POET in my local machine. But it keeps report the issue as follows:

File "/Users/lululin/CoEAinGames/enhanced_poet/poet_distributed/niches/box2d/bipedal_walker_custom.py", line 416, in _reset self._generate_terrain(self.hardcore) File "/Users/lululin/CoEAinGames/enhanced_poet/poet_distributed/niches/box2d/bipedal_walker_custom.py", line 358, in _generate_terrain counter = self.np_random.randint( AttributeError: 'numpy.random._generator.Generator' object has no attribute 'randint'

I am wondering which version of python used in running the POET and is there any way to fix such issue? Thank you for your time!

Vgueca commented 8 months ago

Hello, I got the same error, did you solve it ?

Vgueca commented 8 months ago

I found that the version of python that allows to run POET is python 3.6.10 . In this version you will not get that exception, as it still using randint.