# Conversion Tutorials

We have prepared several Jupyter notebook tutorials to show how to convert models from various source formats (.pt for PyTorch and
.onnx for ONNX) to format compatible with the RVC Platform you aim to run them on. All of them are stored in [ai-tutorials
repository](https://github.com/luxonis/ai-tutorials/tree/main/conversion).

### Conversion of PyTorch Model

[This tutorial](https://github.com/luxonis/ai-tutorials/blob/main/conversion/pytorch_conversion.ipynb) shows how to use HubAI SDK
to convert a pre-trained ResNet18 model from PyTorch to RVC2/RVC4 and how to run the converted model on a device.

### Conversion of ONNX Model

[This tutorial](https://github.com/luxonis/ai-tutorials/blob/main/conversion/onnx_conversion.ipynb) shows how to use HubAI SDK to
convert a pre-trained FFNet-40S model from ONNX to RVC2/RVC4 and how to run the converted model on a device.
