leopoldo-zugasti 63332582 | 4 年前 | |
---|---|---|
.. | ||
.yamato | 4 年前 | |
docs | 4 年前 | |
pyrception_utils | 4 年前 | |
.coveragerc | 4 年前 | |
.flake8 | 4 年前 | |
.gitignore | 4 年前 | |
.pre-commit-config.yaml | 4 年前 | |
.pypirc | 4 年前 | |
Dockerfile | 4 年前 | |
Dockerfile.meta | 4 年前 | |
README.md | 4 年前 | |
README.md.meta | 4 年前 | |
disable.meta | 4 年前 | |
docs.meta | 4 年前 | |
pyrception-utils.py | 4 年前 | |
pyrception-utils.py.meta | 4 年前 | |
pyrception_utils.meta | 4 年前 | |
requirements.txt | 4 年前 | |
requirements.txt.meta | 4 年前 | |
setup.py | 4 年前 | |
setup.py.meta | 4 年前 |
README.md
Pyrception Utils
Pyrception Utils: A toolkit for managing Unity Perception SDK datasets.
Dependencies
- python >= 3.7
- python virtual environment (optional but recommended)
Installation
> git clone git@github.cds.internal.unity3d.com:unity/pyrception-utils.git
> cd pyrception-utils
> pip install -e .
Dataset Preview Tool
The pyrception-utils package includes a perception dataset preview cli tool built in streamlit. You can use this tool as follows:
> pyrception-utils preview --data=<path_to_a_perception_dataset_enclosing_folder>
Here, <path_to_a_perception_dataset_enclosing_folder> is the path to the folder that contains one or more perception dataset folders, not the path to a dataset folder. For example, on a mac, this would be:
> pyrception-utils preview --data=/Users/<username>/Library/Application\ Support/DefaultCompany/<ProjectName>
where is your mac username and is the Unity project name that uses the perception SDK to generate the data.
PyrceptionDataset
The PyrceptionDataset class is a simple iterator that can be used to serialize data generated from the perception SDK and used in other frameworks such as PyTorch or Tensorflow. Checkout it out here.
Developers
To install the pre commit hooks run
> pip install pre-commit
> pre-commit install
To run the pre-commit checks manually
> pre-commit run --all-files
Converting to public repository
Any and all Unity software of any description (including components) (1) whose source is to be made available other than under a Unity source code license or (2) in respect of which a public announcement is to be made concerning its inner workings, may be licensed and released only upon the prior approval of Legal. The process for that is to access, complete, and submit this FORM.