Comments (8)
I've also opened #35 over at nes-py as the parallelism issue needs addressed to better support using multiple environments.
from gym-super-mario-bros.
This happens because a cutscene is playing the background on the NES emulator, but not being shown though gym because it's unnecessary noise. So, at the current moment this is intended behavior. However, I believe with RAM hacking of some form, the cutscene can be forced to end prematurely (as is done in several other points of this implementation). Will look into this.
from gym-super-mario-bros.
@Kautenja Thank you for reply!
from gym-super-mario-bros.
@Kautenja hi, it is another issue. I implement my RL algorithm with multiprocessing, but when some env reach End of World, other envs also stop.
from gym-super-mario-bros.
hmm how is the multiprocessing performed? They way the nes-py emulator works currently limits some of the parallelism approaches (one environment per Python process). However, the multiprocessing package when applied correctly should work fine.
from gym-super-mario-bros.
@Kautenja I think multiprocessing performed is not bad. i implement one env per one python process.
i will comment that issue on nes-py repo
from gym-super-mario-bros.
https://github.com/jcwleo/mario_rl
here is my repo :)
from gym-super-mario-bros.
Looks awesome! closing issue as parallelism is related to the parent code-base nes-py.
from gym-super-mario-bros.
Related Issues (20)
- Can't install on M1 MacBook? HOT 4
- exception: access violation reading 0x000000000003C208 HOT 3
- Kindly ask how to produce augmented roms? HOT 1
- SuperMarioBros-v3 environment color conflicts HOT 2
- just got many errors at gym_super_mario_bros HOT 1
- x_pos value unexpectedly drops while it shoud be increasing (Mario still moving to the right) HOT 2
- KeyError: 'render_modes' raised by gym_super_mario_bros.make('SuperMarioBros-v0') HOT 4
- Sample screenshot from random state HOT 1
- `unexpected keyword argument 'stages'` when I want to play the game with keyboard HOT 5
- Incorrect number of arguments from call to env.step(action) HOT 5
- Which action can make the little man jump up to the hightest green pip in the first world? HOT 1
- how to get the mario's position in the rended picture HOT 1
- error while trying to install nes-py HOT 1
- osError after updating python
- Why there doesn't have a function that could set Mario to a certain x-position?
- How to play all stages in `SuperMarioBros-v0` but using models trained in separate stages? HOT 1
- Update step function in nes_env.py HOT 3
- CMD code problem
- env has already been closed
- Random (or predefined) Mario initial position in stage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gym-super-mario-bros.