TeaganLi / HouseExpo

HouseExpo: A Large-scale 2D Indoor Layout Dataset
MIT License
117 stars 24 forks source link
exploration map mobile-robots reinforcement-learning robotics simulation

HouseExpo Dataset & PseudoSLAM Simulator (IROS2020)

samples by Tingguang Li at The Chinese University of Hong Kong. The paper and video can be found at Paper, Video.

If you think our work is useful, please consider citing use with

@article{"li2019houseexpo",
  title={HouseExpo: A Large-scale 2D Indoor Layout Dataset for Learning-based Algorithms on Mobile Robots},
  author={Tingguang, Li and Danny, Ho and Chenming, Li and Delong, Zhu and Chaoqun, Wang and Max Q.-H. Meng},
  journal={arXiv preprint arXiv:1903.09845},
  year={2019}
}

Overview

HouseExpo is a large-scale dataset of indoor layout built on SUNCG dataset. The dataset contains 35,126 2D floor plans with 252,550 rooms in total, together with the category label of each room. Check out all floor plans as .png images at: https://drive.google.com/file/d/1gEmTdgZD1pIa8UtaLXz8vm_301zL4L1J/view?usp=sharing.

PseudoSLAM is a high-speed OpenAI Gym-compatible simulation platform that simulates SLAM and the navigation process in an unknown 2D environment. It reads data from HouseExpo, creates the corresponding 2D environment and generates a mobile robot to carry on different tasks in this environment.

Prerequisite

The code has been tested under

Getting Started

Training Models

Details of HouseExpo Dataset

Data Format

The floor plans are stored in ./HouseExpo/json/ in the form of .json files. The data format is as follows

Map Visualization

First randomly sample a subset of maps by running

python pseudoslam/viz/map_id_set_generator.py --num 100

Then visualize the sampled maps as images

python pseudoslam/viz/vis_maps.py PATH_TO_MAPID_FILE

Room Category

HouseExpo inherits room category labels from SUNCG dataset and also provides a flexible way to define your own room type labels (as defined in pseudoslam/envs/simulator/jsonreader.py). Some samples are (different colors represent different room categories)

room_label

Statistics

There are 35,126 2D floor plans with 252,550 rooms, with mean of 7.14 and median of 7.0 rooms per house. The distribution of rooms is Room number distribution

Feel free to download all floor plans as .png images at: https://drive.google.com/file/d/1gEmTdgZD1pIa8UtaLXz8vm_301zL4L1J/view?usp=sharing

Usage of PseudoSLAM

Simulator Parameters

The parameters of the simulator are specified in ./pseudoslam/envs/config.yaml including

Benchmark Reproduction

The simulation configurations and the training/testing map ids for obstacle avoidance and autonomous exploration are located at ./experiments for reproduction purpose.

Dynamic Obstacles

We collected a database for dynamic obstacles (moving humans) from the real world and are incorporating this part into our simulator. A demo is like this. Please stay tuned for this part!

dynamic obstacles