Getting started¶
About Aloception¶

Aloception is a set of packages for computer vision built on top of popular deep learning libraries: pytorch and pytorch lightning .
Note
One can use aloscene independently than the two other packages to handle computer vision data, or to improve its training pipelines with augmented tensors.
Install¶
Aloception’s packages are built on top of multiple libraries. Most of them are listed in the requirements.txt file:
pip install -r requirements.txt
Once the other packages are installed, you still need to install pytorch based on your hardware and environment configuration. Please, ref to the pytorch website for this install.
Other optional installation¶
Deformable DETR: build Multi-scale Deformable Attention ops:
cd alonet/deformable_detr/ops
./make.sh
python test.py # should yield True
Please check gcc compatibility with your CUDA Toolkit Version. For example: CUDA Toolkit 11.4.0 Or other versions of CUDA Toolkit.
Exporting to tensorRT: TensorRT toolkit need to be installed on your system. Once done, the following pip packages are required:
pip instal onnx
pip install onnx_graphsurgeon --index-url https://pypi.ngc.nvidia.com
pip install tensorrt