This repo contains public source code and intermediate results from SOLIS research and development.
SolisBoxChecker is a open-source mini-app developed in Python that uses Pytorch and Tensorflow frameworks. This application can be used as a test tool in order to test different deployment setups on a wide range of hardware and software setups. See at the bottom of readme instructions regarding IPC tests between python modules on SolisBox devices.
In order to setup NVIDIA Jetson envrionment you can access following pdf for a stept-by-step tutorial: Jetson Setup. Please note that this step-by-step tutorial has been done using a TX2 Developer Kit device.
- Install Anaconda or Minicoda
- Run environment setup:
conda create -n vaporbox anaconda opencv python=3.7
conda activate vaporbox
conda install -c anaconda tensorflow-gpu==2.1.0
conda install pytorch torchvision -c pytorch
- Git clone the project (including submodules):
git clone https://github.com/Lummetry/SolisPublic.git --recurse-submodules
- Go to project folder:
cd SolisPubic
- Run:
python run.py
- Wait for script to run and check results
- Send results to Lummetry Team as indicated in the script results
Below you can find a range of outputs after testing the script on different operating systems, hardware platforms and environment setups.
- Windows Results:
- Ubuntu Results:
- MacOS Results:
- JetsonTX2 Results:
After cloning repo run proceed with the following steps:
- Start a shell and enter folder where repo has been cloned then run:
>cd ipc_test
>python server.py
- Start a second shell from the same repo folder and run:
>cd ipc_test
>python client.py
OBS: if you start the shell in (repo_folder)/ipc_test
directly then you can bypass the cd
command
Now you should see outputs from both client and server as below. The simulation takes into accounting both inference as well as post processing operations on the data received from the "transcoder". Provided source code has various comments and suggestions.