From e9c1419a91c42e67fe176a538d2984cf1d9e0f93 Mon Sep 17 00:00:00 2001 From: Quanyi Li Date: Mon, 3 Jul 2023 13:50:33 +0100 Subject: [PATCH] update readme (#9) --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0156f9d..4a42339 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,16 @@ various applications like AD stack test, reinforcement learning, imitation learn ## Installation ``` +# create environment +conda create -n scenarionet python=3.9 +conda activate scenarionet + +# Install MetaDrive Simulator +git clone git@github.com:metadriverse/metadrive.git +cd metadrive +pip install -e. + +# Install ScenarioNet git clone git@github.com:metadriverse/scenarionet.git cd scenarionet pip install -e . @@ -35,8 +45,8 @@ scripts.** ### Convert -**Waymo**: the following script can convert Waymo tfrecord to Metadrive scenario description and -store them at directory ./waymo +**Waymo**: the following script can convert Waymo tfrecord (version: v1.2, data_bin: training_20s) to Metadrive scenario +description and store them at directory ./waymo ``` python -m scenarionet.convert_waymo -d waymo --raw_data_path /path/to/tfrecords --num_workers=16