QuantizedDensenet121 Class

Quantized version of Densenet.

This model is in RGB format.

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

This model is in RGB format.

Inheritance
azureml.accel.models._densenet121.AbstractDensenet121
QuantizedDensenet121

Constructor

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

Parameters

model_base_path
Required

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

is_frozen
default value: False

Should the weights of the densenet 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.

custom_weights_directory
default value: None

Directory to load pretrained densenet 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.