QuantizedResnet50 Class

Quantized version of Renset-50.

Create a version of resnet 50 quantized for the Azure ML Hardware Accelerated Models Service.

Inheritance
azureml.accel.models._resnet50.AbstractResnet50
QuantizedResnet50

Constructor

QuantizedResnet50(model_base_path, is_frozen=False, custom_weights_directory=None)

Parameters

Name Description
model_base_path
Required

Path to download the model into. Used as a cache locally.

is_frozen

Should the weights of the resnet-50 be frozen when it is imported. Freezing the weights can lead to faster training time, but may cause your model to perform worse overall. Defaults to false.

default value: False
custom_weights_directory

Directory to load pretrained resnet-50 weights from. Can load weights from either a float-32 version or a quantized version. If none, will load weights trained for accuracy on the Imagenet dataset.

default value: None