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
-
Constructor Summary
-
Method Summary
Methods inherited from class rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelClassifier
getDLModelSettings, getDLParams, getDLWorker, getKetosParams, getModelUI, getSettingsReference, getSettingsVersion, getUnitName, getUnitType, isModelType, makeParams, restoreSettings, setDLParams
Methods inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
checkSettingsOK, closeModel, getClassNameIDs, getClassNames, getDLControl, getModelStatus, getNumClasses, getRawSettingsPane, isDecision, isModelExtensions, millis2Samples, prepModel, runModel, setModel
-
Field Details
-
MODEL_NAME
-
-
Constructor Details
-
KooguClassifier
-
-
Method Details
-
getFileExtensions
Description copied from class:ArchiveModelClassifier
Get the file extensions for the model type.- Overrides:
getFileExtensions
in classArchiveModelClassifier
- Returns:
- the file extension.
-
getName
Description copied from interface:DLClassiferModel
Get the name of the model.- Specified by:
getName
in interfaceDLClassiferModel
- Overrides:
getName
in classArchiveModelClassifier
- Returns:
- the name of the model.
-
getModelWorker
Description copied from class:ArchiveModelClassifier
Get the KetosWorker. this handles loading and running the Ketos model.- Overrides:
getModelWorker
in classArchiveModelClassifier
- Returns:
- the Ketos worker.
-