qlan3 / gym-games Goto Github PK
View Code? Open in Web Editor NEWA collection of Gymnasium compatible games for reinforcement learning.
License: MIT License
A collection of Gymnasium compatible games for reinforcement learning.
License: MIT License
How can I deal with this problem? I have already installed all requirements except gym_game. It is an error happed :ERROR: Could not find a version that satisfies the requirement ple==0.0.1 (from gym-games) (from versions: none)
ERROR: No matching distribution found for ple==0.0.1 .
I cant find the ple package. Please help.
self.opt_a = self.rng.randint(low=0, high=self.action_space.n, size=self.horizon)
self.opt_b = self.rng.randint(low=0, high=self.action_space.n, size=self.horizon)
These two lines of code throw an error: AttributeError: 'numpy.random._generator.Generator' object has no attribute 'randint'
It seems that it could be fix by replacing with randint
with integers
.
I am using numpy version 1.24.1.
pip install requirements.txt
should install MinAtar
Hi Qingfeng,
Thanks for providing this great package. I can successfully run all the MinAtar games with your interface, except "SpaceInvaders-MinAtar-v0". You can find the error message below, maybe you can give me a hint how to solve it.
File "..py", line 76, in train
env = gym.make(env_str)
File "..\AppData\Local\Programs\Python\Python39\lib\site-packages\gym\envs\registration.py", line 156, in make
return registry.make(id, **kwargs)
File "..\AppData\Local\Programs\Python\Python39\lib\site-packages\gym\envs\registration.py", line 101, in make
env = spec.make(kwargs)
File "\AppData\Local\Programs\Python\Python39\lib\site-packages\gym\envs\registration.py", line 73, in make
env = cls(kwargs)
File "\AppData\Local\Programs\Python\Python39\lib\site-packages\gym_minatar\envs\space_invaders.py", line 13, in init
self.init(**kwargs)
File "\AppData\Local\Programs\Python\Python39\lib\site-packages\gym_minatar\envs\base.py", line 19, in init
self.game = Environment(env_name=self.game_name, **kwargs)
File "\AppData\Local\Programs\Python\Python39\lib\site-packages\minatar\environment.py", line 19, in init
env_module = import_module('minatar.environments.'+env_name)
File "\AppData\Local\Programs\Python\Python39\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'minatar.environments.SpaceInvaders'
Best,
Martin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.