Loose numpy version (#30)
* disable using pip extra requirement installation * loose numpy * waymo * waymo version * add numpy hint * restore * Add to note * add hint
This commit is contained in:
@@ -13,13 +13,13 @@ For any dataset, this step is necessary after installing ScenarioNet,
|
||||
as we need to use the official toolkits of the data provider to parse the original scenario description and convert to our internal scenario description.
|
||||
For Waymo data, please install the toolkit via::
|
||||
|
||||
pip install waymo-open-dataset-tf-2-11-0==1.5.0
|
||||
|
||||
# Or install with scenarionet
|
||||
pip install -e .[waymo]
|
||||
pip install waymo-open-dataset-tf-2-11-0
|
||||
pip install tensorflow==2.11.0
|
||||
|
||||
.. note::
|
||||
This package is only supported on Linux platform.
|
||||
`waymo-open-dataset` may degrade numpy, causing conflicts with cv2.
|
||||
A workaround is ``pip install numpy==1.24.2``
|
||||
|
||||
For other datasets like nuPlan and nuScenes, you need to setup `nuplan-devkit <https://github.com/motional/nuplan-devkit>`_ and `nuscenes-devkit <https://github.com/nutonomy/nuscenes-devkit>`_ respectively.
|
||||
Guidance on how to setup these datasets and connect them with ScenarioNet can be found at :ref:`datasets`.
|
||||
|
||||
@@ -67,26 +67,8 @@ For ScenarioNet, we only provide Github installation::
|
||||
|
||||
git clone git@github.com:metadriverse/scenarionet.git
|
||||
cd scenarionet
|
||||
|
||||
Anyone of the following commands will automatically install basic requirements with additional requirements
|
||||
for specific datasets::
|
||||
|
||||
# Install basic requirement only
|
||||
pip install -e .
|
||||
|
||||
# Install Waymo official toolkit
|
||||
pip install -e .[waymo]
|
||||
|
||||
# Install nuScenes development tookit
|
||||
pip install -e .[nuscenes]
|
||||
|
||||
# Install nuPlan development tookit
|
||||
pip install -e .[nuplan]
|
||||
|
||||
# Install all toolkit for all datasets
|
||||
pip install -e .[all]
|
||||
|
||||
|
||||
.. note::
|
||||
If you don't wanna access the source code, you can install these two packages with
|
||||
``pip install git+https://github.com/metadriverse/scenarionet.git``
|
||||
|
||||
@@ -30,9 +30,6 @@ First of all, we have to install the ``nuplan-devkit``.
|
||||
# 2. or install from PyPI
|
||||
pip install nuplan-devkit
|
||||
|
||||
# 3. or install with scenarionet
|
||||
pip install -e .[nuplan]
|
||||
|
||||
By installing from github, you can access examples and source code the toolkit.
|
||||
The examples are useful to verify whether the installation and dataset setup is correct or not.
|
||||
|
||||
|
||||
@@ -34,9 +34,6 @@ First of all, we have to install the ``nuscenes-devkit``.
|
||||
# or install from PyPI
|
||||
pip install nuscenes-devkit
|
||||
|
||||
# or install with scenarionet
|
||||
pip install -e .[nuscenes]
|
||||
|
||||
By installing from github, you can access examples and source code the toolkit.
|
||||
The examples are useful to verify whether the installation and dataset setup is correct or not.
|
||||
|
||||
|
||||
@@ -34,11 +34,10 @@ First of all, we have to install the waymo toolkit and tensorflow::
|
||||
pip install waymo-open-dataset-tf-2-11-0
|
||||
pip install tensorflow==2.11.0
|
||||
|
||||
# Or install with scenarionet
|
||||
pip install -e .[waymo]
|
||||
|
||||
.. note::
|
||||
This package is only supported on Linux platform.
|
||||
`waymo-open-dataset` may degrade numpy, causing conflicts with cv2.
|
||||
A workaround is ``pip install numpy==1.24.2``
|
||||
|
||||
2. Download TFRecord
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user