From 44b67022d2561d6c1c43c6d6cd68cba043cf3e5e Mon Sep 17 00:00:00 2001 From: Jamie Mac Date: Wed, 23 Feb 2022 12:21:59 +0000 Subject: [PATCH] Update KetosClassifier.java --- .../dlClassification/ketos/KetosClassifier.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rawDeepLearningClassifier/dlClassification/ketos/KetosClassifier.java b/src/rawDeepLearningClassifier/dlClassification/ketos/KetosClassifier.java index b10f0c77..4d36a58c 100644 --- a/src/rawDeepLearningClassifier/dlClassification/ketos/KetosClassifier.java +++ b/src/rawDeepLearningClassifier/dlClassification/ketos/KetosClassifier.java @@ -91,9 +91,8 @@ public class KetosClassifier implements DLClassiferModel, PamSettings { // System.out.println("SoundSpotClassifier: PamCalendar.isSoundFile(): " // + PamCalendar.isSoundFile() + " " + (PamCalendar.isSoundFile() && !forceQueue)); - /** - * If a sound file is being analysed then SoundSpot can go as slow as it wants. if used in real time + * If a sound file is being analysed then Ketos can go as slow as it wants. if used in real time * then there is a buffer with a maximum queue size. */ if ((PamCalendar.isSoundFile() && !forceQueue) || dlControl.isViewer()) { @@ -132,6 +131,7 @@ public class KetosClassifier implements DLClassiferModel, PamSettings { public void prepModel() { //System.out.println("PrepModel! !!!"); getKetosWorker().prepModel(ketosDLParams, dlControl); + if (!ketosDLParams.useDefaultTransfroms) { //set custom transforms in the model. getKetosWorker().setModelTransforms(ketosDLParams.dlTransfroms);