Skip to main content

minerl-navigate - MineRL Navigate Video Dataset

Project description

MineRL Navigate Video Dataset

PyPI

A dataset for long-term video prediction. It shows human players traversing worlds of the video game Minecraft, which include forests, mountains, oceans, and islands. The dataset contains 961 train videos and 255 test videos. Each video contains 500 images of size 64x64x3.

Citation

The dataset was originally crowd-sourced by Guss et al. and preprocessed for video prediction by Saxena et al. If you use this dataset, please reference:

@article{saxena2021clockworkvae,
  title={Clockwork Variational Autoencoders},
  author={Saxena, Vaibhav and Ba, Jimmy and Hafner, Danijar},
  journal={arXiv preprint arXiv:2102.09532},
  year={2021},
}
@article{guss2019minerl,
  title={Mine{RL}: A Large-Scale Dataset of {M}inecraft Demonstrations},
  author={William H. Guss and Houghton, Brandon and Topin, Nicholay and Wang, Phillip and Codel, Cayden and Veloso, Manuela and Salakhutdinov, Ruslan},
  journal={International Joint Conference on Artificial Intelligence},
  year={2019},
}

Instructions

Installation:

pip3 install minerl-navigate

Usage example:

import tensorflow as tf
import tensorflow_datasets as tfds
import minerl_navigate

dataset = tfds.load('minerl_navigate', shuffle_files=True)

test = dataset['test']

train = dataset['train'].repeat()
train = train.flat_map(lambda x: tf.data.Dataset.from_tensor_slices(
    tf.reshape(x['video'], (5, 100, 64, 64, 3))))
train = train.shuffle(5000).batch(50).prefetch(1)

for batch in train:
  assert batch.shape == (50, 100, 64, 64, 3)
  assert batch.dtype == tf.uint8
  break

Creation

The video dataset was created by combining the Navigate and Navigate Extreme tasks, splitting them into non-overlapping sequences of length 500, splitting them into train and test sets, and storing the videos as MP4 files. Optionally, the action sequences are available in JSON format. Instead of using the data loader, the data can also be downloaded manually.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minerl_navigate-1.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minerl_navigate-1.1.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file minerl_navigate-1.1.0.tar.gz.

File metadata

  • Download URL: minerl_navigate-1.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for minerl_navigate-1.1.0.tar.gz
Algorithm Hash digest
SHA256 17a3f643341ad0bb368b814eede5bcb7250b09d644163bfe623e73477b066714
MD5 2303053fe1cee86829614ddee714bbd4
BLAKE2b-256 71b87ca3fee6d98e9a770f121e7ba3c63d365dc84dc3b0128a210653c382779e

See more details on using hashes here.

File details

Details for the file minerl_navigate-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: minerl_navigate-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for minerl_navigate-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13658a6a754696826de7157a9c97f2f03d895531827352ff154ec08e98b661d1
MD5 4d0a30e1ea1ada09fa48dec329b2ffb8
BLAKE2b-256 c35b0131f32fa2ca52f180f0739d64c97582af71270162cc4a1b32e13f6ffc1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page