I skipped adding the pad to the input image when resizing, which might affect the accuracy of the model if the input image has a different aspect ratio compared to the input size of the model. Always ...
You can use this in your terraform template with the following steps. Adding a module resource to your template, e.g. main.tf module "oss-object" { source ...