train_model_folder_path()¶
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 |
|
The name of the model to train. |
|
type |
|
The type of the model to train. |
|
model_name |
|
The name to assign to the trained model. |
|
images |
|
A list of images to use for training. |
|
names |
|
A list of names associated with the images. |
|
model_params |
|
A dictionary of parameters specific to the model. |
|
encoding |
|
|
The encoding format of the images. |
Return¶
Type |
Description |
|---|---|
|
Dict representing the results of the training process, converted from a JSON string. |
Exceptions¶
RayaCVInvalidModelRayaCVDiffImageNamesSizeRayaCVInvalidImageFormat
See the complete list of cv exceptions.