Update KetosClassifier.java

This commit is contained in:
Jamie Mac 2022-02-23 12:21:59 +00:00
parent fdb6c19daf
commit 44b67022d2

View File

@ -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);