train_model_folder_path()
- 1 Minute to read
train_model_folder_path()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
This function prepares the image data from the specified folder, constructs a training request, sends it to train the model, and returns the training information as a dictionary.
Reference
Arguments
Arguments | Type | Default value | Description |
---|---|---|---|
model | str | - | The name of the model to train. |
type | str | - | The type of the model to train. |
model_name | str | - | The name to assign to the trained model. |
images | list | - | A list of images to use for training. |
names | list | - | A list of names associated with the images. |
model_params | dict | - | A dictionary of parameters specific to the model. |
encoding | str | bgr8 | The encoding format of the images. |
Return
Type | Description |
---|---|
dict | Dict representing the results of the training process, converted from a JSON string. |
Exceptions
RayaCVInvalidModel
RayaCVDiffImageNamesSize
RayaCVInvalidImageFormat
See the complete list of cv exceptions.
Was this article helpful?