You create a multi-class image classification deep learning model.
You train the model by using PyTorch version 1.2.
You need to ensure that the correct version of PyTorch can be identified for the inferencing environment when the model is deployed.
What should you do?
A . Save the model locally as a.pt file, and deploy the model as a local web service.
B . Deploy the model on computer that is configured to use the default Azure Machine Learning conda environment.
C . Register the model with a .pt file extension and the default version property.
D . Register the model, specifying the model_framework and model_framework_version properties.
Answer: D
Explanation:
framework_version: The PyTorch version to be used for executing training code.
Reference: https://docs.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.dnn.pytorch?view=azure-ml-py
Leave a Reply