Fixed the previous fix
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pünkösd Marcell 2020-11-15 04:20:39 +01:00
parent 1f25ad8373
commit 1d7d127419
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class SoundPreProcessor(AbcPreProcessor):
f"Sample {file_path} identified as {self._classes[class_id]} with the probablility of {probability[class_id]}"
)
return bool((class_id == self._target_id) and (probability > 0.5))
return bool((class_id == self._target_id) and (probability[class_id] > 0.5))
def __del__(self):
try: