Class KooguClassifier
java.lang.Object
rawDeepLearningClassifier.dlClassification.StandardClassifierModel
rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelClassifier
rawDeepLearningClassifier.dlClassification.koogu.KooguClassifier
- All Implemented Interfaces:
PamSettings,SettingsNameProvider,DLClassiferModel
Classifier which uses deep learning models from Koogus' framework.
Koogu uses TensorFlow models and packages them inside a zipped .kgu file which contains a standard JSON file for the transforms and a .pb model. Users can select a .kgu file - PAMGaurd will decompress it, find the JSON file, set up the transforms and load the model.
Details on Koogu framework can be found athttps://github.com/shyamblast/Koogu?tab=readme-ov-file
- Author:
- Jamie Macaulay
-
Nested Class Summary
Nested classes/interfaces inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
StandardClassifierModel.TaskThread -
Field Summary
FieldsFields inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
dlControl -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelClassifier
getDLModelSettings, getDLParams, getDLWorker, getKetosParams, getModelUI, getSettingsReference, getSettingsVersion, getUnitName, getUnitType, isModelType, makeParams, restoreSettings, setDLParamsMethods inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
checkSettingsOK, closeModel, getAllowedDataTypes, getClassNameIDs, getClassNames, getDLControl, getModelStatus, getNumClasses, getRawSettingsPane, isDecision, isModelExtensions, millis2Samples, newResult, prepModel, runModel, setModel
-
Field Details
-
MODEL_NAME
-
-
Constructor Details
-
KooguClassifier
-
-
Method Details
-
getFileExtensions
Description copied from class:ArchiveModelClassifierGet the file extensions for the model type.- Overrides:
getFileExtensionsin classArchiveModelClassifier- Returns:
- the file extension.
-
getName
Description copied from interface:DLClassiferModelGet the name of the model.- Specified by:
getNamein interfaceDLClassiferModel- Overrides:
getNamein classArchiveModelClassifier- Returns:
- the name of the model.
-
getModelWorker
Description copied from class:ArchiveModelClassifierGet the KetosWorker. this handles loading and running the Ketos model.- Overrides:
getModelWorkerin classArchiveModelClassifier- Returns:
- the Ketos worker.
-