Git Product home page Git Product logo

maze_env's Introduction

MazeEnv

This repository contains the maze scenario where an agent must learn to navigate within randomly generated maze environments to obtain target objects and avoid non-target objects scattered within the map.

Installation and Running Random Agent

  1. To run the random agent, MazeExplorer must be installed. Please follow this link for installation.
  2. Other requirements can be installed as below:
pip3 install numpy torch
pip3 install setproctitle
  1. gen_mazes.py generates maze config files and WAD files in mazes_dir/ directory.
python gen_mazes.py
  1. main.py runs the random agent with multiprocessing. Prior to running main.py, the log_file of class Params in params.py must be changed to a nonexisting file name. The raw data will be saved to the CSV file of the specified log_file path.
python main.py

References

Significant portion of environment code and scripts under mazeenv directory are modified versions of microsoft/MazeExplorer repository (link). The copyright notice is included in NOTICE.

main.py and eval.py are modified versions of the corresponding scripts in the kibeomKim/House3D_baseline repository (link).

maze_env's People

Contributors

lionminhu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.