Giter Club home page Giter Club logo

docker-scenetransformer's Introduction

This is a docker version of this, fixing some bugs and tutoring how to get the Waymo-motion-dataset, for quickly getting started with SceneTransformer, a trajectory prediction and planning network for autonomous vehicles.

1. Prerequist

ubuntu 20.04

2. Build project

2.1 Create directory and clone project

cd /  && mkdir SceneTransformer_ws && cd SceneTransformer_ws
git clone [email protected]:bithuanglq/Docker-SceneTransformer.git

2.2 Create docker image from Dockerfile

Create your image (e.g. scenetransformer:latest).

docker build -f Dockerfile -t scenetransformer .

3. Running

3.1 Create docker container and enter

You can create and run a container with the following command:

docker run -it -d --name container_name scenetransformer /bin/bash

And then, if you want to enter the container (to run commands inside the container interactively), you can use the docker exec command:

docker exec -it container_name /bin/bash

3.2 Dataset

Put your validation dataset in /mnt/SceneTransformer/data/tf_records/validation/, the example validation data is uncompressed_tf_example_validation_validation_tfexample.tfrecord-00027-of-00150

3.3 Test running

cd /mnt/SceneTransformer 
python datautil/create_idx.py
python tmp.py

4. How to download the Waymo motion dataset

The Waymo moiton dataset is in form of structured dataset instead of images or BEV. Following this tutorial, installing the gcloud and gsutil command. Then get amounts of dataset using this web's gsutli command like below:

gsutil -m cp \
  "gs://waymo_open_dataset_motion_v_1_2_0/uncompressed/tf_example/validation/validation_tfexample.tfrecord-00000-of-00150" \
  "gs://waymo_open_dataset_motion_v_1_2_0/uncompressed/tf_example/validation/validation_tfexample.tfrecord-00001-of-00150" \
  .

Remember to put training dataset in dir: /mnt/SceneTransformer/data/tf_records/training/

Acknowledge

Thanks to this repo, dataset, and paper.

docker-scenetransformer's People

Contributors

bithuanglq avatar

Stargazers

Albert Li avatar

Watchers

 avatar  avatar

Forkers

flclain

docker-scenetransformer's Issues

Reproduce of this paper

Hi, Thanks for your work.
Have you reproduced the results of this paper?
Could you offer more details about the code?

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.