Crash on dark image


#1

When my outside webcam goes dark, deepstack crashes with the following error:

Traceback (most recent call last):
File “/usr/lib/python3.5/multiprocessing/process.py”, line 249, in _bootstrap
self.run()
File “/usr/lib/python3.5/multiprocessing/process.py”, line 93, in run
self._target(*self._args, **self._kwargs)
File “/app/intelligence.py”, line 643, in detection
for i in range(len(labels)):
TypeError: object of type ‘NoneType’ has no len()


#2

Hello @wiebel, thanks for reporting this. The bug has been fixed. Please pull the latest image.


#3

I have, but the issues stays :slight_smile:


#4

i’m sorry, it was still running the old one, new one created under wrong name :blush:


#5

Hi, The new one is accessible via the latest tag or cpu-3.3


#6

Yeah, issue seems to be fixed :slight_smile: thanks!