Deep learning bug fix

This commit is contained in:
Jamie Mac 2024-07-22 09:49:57 +01:00
parent cb3f4ca041
commit 22a0e5004d

View File

@ -561,6 +561,7 @@ public class DLControl extends PamControlledUnit implements PamSettings {
* @return the number of classes.
*/
public int getNumClasses() {
if (getDLModel()==null) return 0;
return getDLModel().getNumClasses();
}