Class KetosWorker2
java.lang.Object
rawDeepLearningClassifier.dlClassification.genericModel.DLModelWorker<StandardPrediction>
rawDeepLearningClassifier.dlClassification.genericModel.GenericModelWorker
rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelWorker
rawDeepLearningClassifier.dlClassification.ketos.KetosWorker2
-
Field Summary
Fields inherited from class rawDeepLearningClassifier.dlClassification.genericModel.DLModelWorker
MAX_QUEUE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.jamdev.jdl4pam.ArchiveModel
Load a model from a fileorg.jamdev.jdl4pam.genericmodel.GenericModelParams
makeModelParams
(String jsonString) Create the parameters from a JSON string.Methods inherited from class rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelWorker
closeModel, getModel, isModelNull, makeModelResult, prepModel
Methods inherited from class rawDeepLearningClassifier.dlClassification.genericModel.GenericModelWorker
runModel
Methods inherited from class rawDeepLearningClassifier.dlClassification.genericModel.DLModelWorker
dataUnits2ModelInput, getModelTransforms, isEnableSoftMax, model2DLTransforms, runModel, setEnableSoftMax, setModelTransforms
-
Constructor Details
-
KetosWorker2
public KetosWorker2()
-
-
Method Details
-
loadModel
public org.jamdev.jdl4pam.ArchiveModel loadModel(String currentPath2) throws ai.djl.MalformedModelException, IOException Load a model from a file- Overrides:
loadModel
in classArchiveModelWorker
- Parameters:
currentPath
- - the path to the model.- Throws:
ai.djl.MalformedModelException
IOException
-
makeModelParams
Create the parameters from a JSON string.- Overrides:
makeModelParams
in classArchiveModelWorker
- Parameters:
jsonString
- - the json string.- Returns:
- the paramters.
-