Salehe Erfanian Ebadi,
You-Cyuan Jhang,
Alex Zook,
Saurav Dhakad,
Adam Crespi,
Pete Parisi,
Steven Borkman,
Jonathan Hogins,
Sujoy Ganguly
Unity Technologies
Paper Source Code macOS Binary Linux Binary
We provide two binary files for Linux and macOS.
The binary file will generate the synthetic dataset and corresponding labels from the provided scenarioConfiguration.json
file.
Datasets can be varied by altering the parameters of the randomizers found in scenarioConfiguration.json
.
Key fields:
totalIterations
- the number of frames to generaterandomSeed
- the random generation seed (for reproducibility)randomizers
- the Unity Perception randomizers used in the scenes and their exposed parameters and ranges. The default configuration file includes the randomizer configurations that were used to generate the data in our paper. For more information consult the Unity Perception package documentation.
Note: The generated dataset will start from index 1, which will be a blank image, since the Perception package starts capture at frame 2. In case the user requests 100 frames, then the frame indices will be from 1 to 101, producing 100 valid, non-blank frames with annotations from indices 2 to 101.
- Copy the contents of this repo in a local directory, e.g. in:
/Users/<USERNAME>/
- Download and unzip
StandaloneOSX_39ff5eb9ab4ce79440a3f743ebeb4f7b3c967024.zip
file.
$ wget https://storage.googleapis.com/peoplesanspeople-gha-binaries/StandaloneOSX_39ff5eb9ab4ce79440a3f743ebeb4f7b3c967024.zip
$ unzip StandaloneOSX_39ff5eb9ab4ce79440a3f743ebeb4f7b3c967024.zip
- Run the contained script
run.sh
. See usage of the script for more details on how to run this script:
$ bash run.sh -h
For example:
$ bash run.sh -t Darwin -d /Users/<USERNAME>/StandaloneOSX -f /Users/<USERNAME>/scenarioConfiguration.json -l /Users/<USERNAME>/StandaloneOSX/log.txt
- On macOS the dataset will be written to
/Users/<USERNAME>/Library/Application Support/com.DefaultCompany.HDRPRenderPeople2020.1.17f1/<UUID>
where <USERNAME>
is your user name and <UUID>
is the folder where the generated dataset from the last simulation is saved.
The dataset output folder will also be shown in the logs in the terminal.
The generated dataset will be in Perception format. The annotations will appear under DatasetXXXX...
folder in captures_000.json
and the corresponding images will appear in the RGBXXXX...
folder. Additionally Perception writes scene metadata to metrics_XXX.json
files under the DatasetXXXX...
folder.
- Copy the contents of this repo in a local directory, e.g. in:
/home/<USERNAME>/
- Download and unzip
StandaloneLinux64_39ff5eb9ab4ce79440a3f743ebeb4f7b3c967024.zip
file
$ wget https://storage.googleapis.com/peoplesanspeople-gha-binaries/StandaloneLinux64_39ff5eb9ab4ce79440a3f743ebeb4f7b3c967024.zip
$ unzip StandaloneLinux64_39ff5eb9ab4ce79440a3f743ebeb4f7b3c967024.zip
-
Install the necessary graphics driver and vulkan libraries. For example, assuming you have Ubuntu 16.04/ 18.04/ 20.04 LTS with NVIDIA GPU. You can install the drivers as follows:
-
sudo add-apt-repository ppa:graphics-drivers/ppa
-
Check available drivers for your GPU:
ubuntu-drivers devices
-
Install the specific driver:
sudo apt install <driver_name>
. For example:sudo apt install nvidia-340
-
Restart the system and verify the driver installation by:
nvidia-smi
. You should be able to see the GPU info and the driver version. -
Install vulkan libraries using the command:
sudo apt install nvidia-settings vulkan-utils
-
-
Run
run.sh
script. See usage of the script for more details on how to run this script:
$ bash run.sh -h
For example:
$ bash run.sh -t Linux -d /home/<USERNAME>/StandaloneLinux64 -f /home/<USERNAME>/scenarioConfiguration.json -l /home/<USERNAME>/StandaloneLinux64/log.txt
- The dataset will be written to
$XDG_CONFIG_HOME/unity3d/DefaultCompany/HDRP\ RenderPeople\ 2020.1.17f1/<UUID>
or as an example
/home/<USERNAME>/.config/unity3d/DefaultCompany/HDRP\ RenderPeople\ 2020.1.17f1/<UUID>
where <UUID>
is the folder where the generated dataset from the last simulation is saved. The dataset output folder will also be shown in the logs in the terminal.
The generated dataset will be in the Unity Perception format. The annotations will appear under DatasetXXXX...
folder in captures_000.json
and the corresponding images will appear in the RGBXXXX...
folder. Additionally Perception writes scene metadata to metrics_XXX.json
files under the DatasetXXXX...
folder. For more information on the format consult the Unity Perception documentation.
PeopleSansPeople is licensed under the Apache License, Version 2.0. See LICENSE for the full license text. All rights reserved for Unity Technologies.