Model.aic_import_trainedfile#
- Model.aic_import_trainedfile(filepath)#
This command imports trained machine learning model file to use it for classifying parts. The resultant binary (.aic) files from model training can be shared and used on different machines. A new classifier folder is created in the project directory and a duplicate of the trained model file is saved in it, which can be used later for classification.
These external models can be used for classification, but retraining or labelling of additional parts is not supported.
- Parameters:
filepath (hwString) – The file path for the trained model file.
Example#
Import a trained model provided by the user#import hm import hm.entities as ent model = hm.Model() model.aic_import_trainedfile(filepath="C:/Temp/trained_model.aic")