Comments (6)
@YitzhakSp Thanks for the report. It seems the problem is related to new version of gym which requires dtype
for Space objects. Now I have updated API, could you try again to see if it works now ? And by the way, maybe you also want to take a look at the required packages in README.
from mazelab.
Thanks, now its working. However there is another problem now. did you try env.render() ? it opens a figure but the figure is empty and hangs up. here's the code I tried
from gym_maze.envs import MazeEnv
from gym_maze.envs.generators import *
import time
maze = RandomBlockMazeGenerator(maze_size=4, obstacle_ratio=0.0)
env = MazeEnv(maze)
env.reset()
for i in range(100):
fig=env.render()
action = env.action_space.sample()
observation, reward, done, info = env.step(action)
time.sleep(.5)
my system:
win10
python 3.6
from mazelab.
@YitzhakSp I have tried again and it works fine. Do you use the following dependencies
- Numpy >= 1.14.2
- Matplotlib >= 2.1.2
- Scikit-image >= 0.13.1
from mazelab.
yep, I have the required dependencies. maybe its a Windows problem.
from mazelab.
@YitzhakSp If you have the up-to-date version of the dependencies, then I guess so the problem has something to do with Windows.
from mazelab.
@YitzhakSp Hi, the repo is entirely rewritten now with much more modular design, can you re-check if it works now ?
from mazelab.
Related Issues (9)
- Refactor Env: use gym.Env
- [Question] Multi-Agent Support HOT 2
- [Bug] Blurry Rendering of Environment HOT 1
- Bugs in passable check in _is_valid() method of Maze object
- TypeError: namedtuple() got an unexpected keyword argument 'defaults'
- Could you add License?
- Track of updates for new release
- Add Sokoban environment
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 mazelab.