Traceback (most recent call last):


 "run.py", line 30, in <module>

tfnet.camera()


 "/home/nisheetsinvhal/Desktop/Tracking-with-darkflow/darkflow/darkflow/net/help.py", line 124, in camera

fps = 1 / self._get_fps(frame)


 "/home/nisheetsinvhal/Desktop/Tracking-with-darkflow/darkflow/darkflow/net/help.py", line 66, in _get_fps

processed = self.framework.postprocess(net_out, frame)


 "/home/nisheetsinvhal/Desktop/Tracking-with-darkflow/darkflow/darkflow/net/yolov2/predict.py", line 107, in postprocess

detections = detections + extract_boxes(self,mask)


 "/home/nisheetsinvhal/Desktop/Tracking-with-darkflow/darkflow/darkflow/net/yolov2/predict.py", line 40, in extract_boxes

new_im=new_im.astype(np.uint8)
AttributeError: 'NoneType' object has no attribute 'astype'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/googletrans/client.py", line 172, in translate

data = self._translate(text, dest, src)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/googletrans/client.py", line 75, in _translate

token = self.token_acquirer.do(text)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/googletrans/gtoken.py", line 180, in do

self._update()


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/googletrans/gtoken.py", line 59, in _update

code = unicode(self.RE_TKK.search(r.text).group(1)).replace('var ', '')
AttributeError: 'NoneType' object has no attribute 'group'
