TheCacophonyProject / classifier-pipeline

Exports tracked animals through thermal vision.
GNU General Public License v3.0
21 stars 14 forks source link

classify fails with AttributeError in some cases #82

Closed mjs closed 5 years ago

mjs commented 5 years ago

When processing recording 160615 on the test server classify.py fails with:

Traceback (most recent call last):
  File "/usr/bin/classifier-pipeline.pex/classify/main.py", line 99, in <module>
  File "/usr/bin/classifier-pipeline.pex/classify/main.py", line 93, in main
  File "/usr/bin/classifier-pipeline.pex/classify/clipclassifier.py", line 273, in process_file
  File "/usr/bin/classifier-pipeline.pex/track/trackextractor.py", line 203, in extract_tracks
  File "/usr/bin/classifier-pipeline.pex/track/trackextractor.py", line 474, in filter_tracks
AttributeError: 'function' object has no attribute 'extend'