Skip to content

Commit

Permalink
Prophesee prototype docstring updates
Browse files Browse the repository at this point in the history
  • Loading branch information
biphasic committed Oct 21, 2023
1 parent dc0b091 commit db13037
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you want you can [run them yourself](https://mybinder.org/v2/gh/neuromorphs/t
### API reference
* **{doc}`List of neuromorphic datasets<datasets>`**. Vision and audio datasets.
* **{doc}`List of event transformations<auto_examples/index>`**. Event transforms and representations.
* **{doc}`Supported file parsers`**. For the various file formats out there.
* **{doc}Supported file parsers**. For the various file formats out there.

### Reading material
* **{doc}`Introduction to neuromorphic cameras<reading_material/intro-event-cameras>`** if you've never worked with events/spikes.
Expand Down
27 changes: 11 additions & 16 deletions tonic/prototype/datasets/prophesee.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,16 @@ class Gen1AutomotiveDetection(AutomotiveDetectionBaseClass):
Then, the steps to acquire the data can be as follows:
Download the torrent file for the dataset
::
Download the torrent file for the dataset::
wget https://dataset.prophesee.ai/index.php/s/uE0QGLaFAEQnPwy/download\?path\=%2F\&files\=ATIS%20Automotive%20Detection%20Dataset.torrent
-O Gen1Prophesee.torrent
Download the data using peer-to-peer connections. On Linux this can be done using `aria2c` on the command line
::
Download the data using peer-to-peer connections. On Linux this can be done using `aria2c` on the command line::
aria2c Gen1Prophesee.torrent
This will download several 7z archives for training and testing. We'll need to unpack them manually by looping over the 7z files and feeding them to 7z
::
This will download several 7z archives for training and testing. We'll need to unpack them manually by looping over the 7z files and feeding them to 7z::
sudo apt-get install p7zip-full
for i in *.7z; do 7z x $i; done
Expand Down Expand Up @@ -143,8 +140,7 @@ class Gen4AutomotiveDetectionMini(AutomotiveDetectionBaseClass):
"""`Gen4 Automotive Detection <https://www.prophesee.ai/2020/11/24/automotive-megapixel-event-
based-dataset/>`_
This datasets needs 'expelliarmus' installed on the system. Events have "txyp" ordering.
::
This datasets needs 'expelliarmus' installed on the system. Events have "txyp" ordering.::
@article{de2020large,
title={A large scale event-based detection dataset for automotive},
Expand Down Expand Up @@ -209,8 +205,7 @@ class Gen4Automotive(AutomotiveDetectionBaseClass):
"""`Gen4 Automotive Detection <https://www.prophesee.ai/2020/11/24/automotive-megapixel-event-
based-dataset/>`_
This datasets needs 'expelliarmus' installed on the system. Events have "txyp" ordering.
::
This datasets needs 'expelliarmus' installed on the system. Events have "txyp" ordering.::
@article{de2020large,
title={A large scale event-based detection dataset for automotive},
Expand All @@ -223,17 +218,17 @@ class Gen4Automotive(AutomotiveDetectionBaseClass):
Then, the steps to acquire the data can be as follows:
Download the torrent file for the dataset
::
Download the torrent file for the dataset::
wget https://dataset.prophesee.ai/index.php/s/8HY0Bv4mOU4RzBm/download?path=%2F&files=Large_Automotive_Detection_Dataset.torrent
-O Gen4Prophesee.torrent
Download the data using peer-to-peer connections. On Linux this can be done using `aria2c` on the command line
::
Download the data using peer-to-peer connections. On Linux this can be done using `aria2c` on the command line::
aria2c Gen4Prophesee.torrent
This will download several 7z archives for training, validation and testing. We'll need to unpack them manually by looping over the 7z files and feeding them to 7z
::
This will download several 7z archives for training, validation and testing. We'll need to unpack them manually by looping over the 7z files and feeding them to 7z::
sudo apt-get install p7zip-full
for i in *.7z; do 7z x $i; done
Expand Down

0 comments on commit db13037

Please sign in to comment.