Preparing a Baseline Model - 1.4 English

Vitis AI Optimizer User Guide (UG1333)

Document ID
UG1333
Release Date
2021-07-22
Version
1.4 English

For simplicity, ResNet18 from torchvision is used here. In real life applications, the process of creating a model can be quite complicated.

from torchvision.models.resnet import resnet18
model = resnet18(pretrained=True)