Skip to content

Commit

Permalink
docs: Add quickstart instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSchammo committed Dec 5, 2024
1 parent 013de55 commit 93cc6b5
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ perception methods in automated driving.
:maxdepth: 2
:caption: Contents:

sources/usage/quickstart
sources/api/modules
40 changes: 40 additions & 0 deletions docs/sources/usage/quickstart.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Quickstart
==========

First clone and enter the repository:

``git clone https://github.com/ekut-es/LidarAug && cd LidarAug``

Local Installation
------------------

To install the module locally you need to first install the dependencies.

- `PyTorch/libtorch <https://pytorch.org/get-started/locally/>`__
- `boost <https://www.boost.org/>`__
- `OpenMP <https://www.openmp.org/resources/openmp-compilers-tools/>`__
- `cnpy <https://github.com/TomSchammo/cnpy>`__
- `pybind11 <https://github.com/pybind/pybind11>`__

Easiest way is to run:

``python3.11 -m pip install -r requirements.txt``

And install `boost <https://www.boost.org/>`__, `OpenMP <https://www.openmp.org/resources/openmp-compilers-tools/>`__ and `cnpy <https://github.com/TomSchammo/cnpy>`__ by following the installation instructions of the respective project.

After installing all the necessary dependencies run ``make install``.

**Optional:** You can test the installation by running ``make testpy``.

Docker
------

Alternatively you can use `Docker <https://www.docker.com/>`__.

To build the Docker image simply run ``make docker``.

This will create a Docker image with the module and all the necessary dependencies.

You can run it using ``docker run -it lidar_aug:latest bash``

**NOTE:** For those using ARM run ``make docker-arm`` instead to build the docker image.

0 comments on commit 93cc6b5

Please sign in to comment.