Mapnet
PyTorch implementation of the CVPR 2018 (oral) paper "MapNet: An Allocentric Spatial Memory for Mapping Environments" (Henriques and Vedaldi)
Install / Use
/learn @jotaf98/MapnetREADME
MapNet: An Allocentric Spatial Memory for Mapping Environments
This is a PyTorch re-implementation of MapNet, presented in:
João F. Henriques and Andrea Vedaldi, "MapNet: An Allocentric Spatial Memory for Mapping Environments", CVPR 2018 (PDF)
It reproduces all of the training from scratch for the mazes experiments, but not the Doom or AVD experiments; I hope to change that in the future.
Requirements
Although it may work with older versions, this has mainly been tested with:
- PyTorch 1.3
- Python 3.7
- OverBoard 0.1.4 (for plotting and visualization)
Usage
The mazes are stored in a large text file (45 MB). For this reason, it is zipped in data/maze/mazes-10-10-100000.zip (6 MB), please extract its contents to the same directory.
Training can then be performed by running train_mapnet.py. Run train_mapnet.py --help for command-line options and their explanation.
Visualization
Plots and tensor visualizations (mostly heatmaps of the joint position-orientation probability, as well as the maps) from OverBoard:

Author
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
