Class DelphinIDTest.DelphinIDWorkerTest
java.lang.Object
rawDeepLearningClassifier.dlClassification.genericModel.DLModelWorker<StandardPrediction>
rawDeepLearningClassifier.dlClassification.genericModel.GenericModelWorker
rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelWorker
rawDeepLearningClassifier.dlClassification.delphinID.DelphinIDWorker
rawDeepLearningClassifier.dlClassification.delphinID.DelphinIDTest.DelphinIDWorkerTest
- Enclosing class:
DelphinIDTest
-
Field Summary
Fields inherited from class rawDeepLearningClassifier.dlClassification.genericModel.DLModelWorker
MAX_QUEUE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat[][][]
dataUnits2ModelInput
(ArrayList<? extends PamDataUnit> dataUnits, float sampleRate, int iChan) Convert a list of data units to a stack if images.float[][][]
Methods inherited from class rawDeepLearningClassifier.dlClassification.delphinID.DelphinIDWorker
getWhistleImageParams, prepModel
Methods inherited from class rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelWorker
closeModel, getModel, isModelNull, loadModel, makeModelParams, makeModelResult
Methods inherited from class rawDeepLearningClassifier.dlClassification.genericModel.GenericModelWorker
runModel
Methods inherited from class rawDeepLearningClassifier.dlClassification.genericModel.DLModelWorker
getModelTransforms, isEnableSoftMax, model2DLTransforms, runModel, setEnableSoftMax, setModelTransforms
-
Constructor Details
-
DelphinIDWorkerTest
public DelphinIDWorkerTest()
-
-
Method Details
-
dataUnits2ModelInput
public float[][][] dataUnits2ModelInput(ArrayList<? extends PamDataUnit> dataUnits, float sampleRate, int iChan) Description copied from class:DLModelWorker
Convert a list of data units to a stack if images.- Overrides:
dataUnits2ModelInput
in classDelphinIDWorker
- Parameters:
dataUnits
- - the data units.sampleRate
- - the sample rateiChan
- - the channels- Returns:
- a stack of images for input into a deep learning model.
-
getLastModelInput
public float[][][] getLastModelInput()
-