Parameter | Type | Description | Example |
---|---|---|---|
object | The model specification information. | ||
ClassNum | long | The number of output classes of the last layer. | 10 |
InputChannel | long | 3 | 3 |
Name | string | The name of the model. The available model names vary with the model category. | ClsResNet |
NumLandmarks | long | The number of face landmarks. This parameter is required for face detection. In most cases, you can set the parameter to 5. | 5 |
PretrainedPath | string | The path to the pre-trained model. | oss://bucket/abc/xxx.json |