class MyTrain(TrainCallback)
Note:
Starting in Maximo® Visual Inspection 8.7, custom models are not supported. Custom models are still supported in Maximo Visual Inspection 8.6 and earlier versions.
Use the MyTrain API to prepare a TensorFlow or PyTorch model to train data sets with IBM® Maximo Visual Inspection.
- class MyTrain(TrainCallback)
- Template
- def onPreprocessing(self, labels, images, workspace_path, params)
- def onTraining(self, monitor_handler)
- def onCompleted(self, model_path)
- def onFailed(self, train_status, e, tb_message):
- Monitoring and reporting statistics