Traceback (most recent call last):


 "/home/misha/Desktop/dev-anna/15sof/shot_detection/src/scripts/heat_map.py", line 31, in <module>

activations = keract.get_activations(model, image)


 "/home/misha/anaconda3/envs/conda-py3/lib/python3.6/site-packages/keract/keract.py", line 77, in get_activations

activations = _evaluate(model, layer_outputs, x, y=None)


 "/home/misha/anaconda3/envs/conda-py3/lib/python3.6/site-packages/keract/keract.py", line 23, in _evaluate

x_, y_, sample_weight_ = model._standardize_user_data(x, y)


 "/home/misha/anaconda3/envs/conda-py3/lib/python3.6/site-packages/keras/engine/training.py", line 1487, in _standardize_user_data

in zip(y, sample_weights, class_weights, self._feed_sample_weight_modes)]


 "/home/misha/anaconda3/envs/conda-py3/lib/python3.6/site-packages/keras/engine/training.py", line 1486, in <listcomp>

for (ref, sw, cw, mode)


 "/home/misha/anaconda3/envs/conda-py3/lib/python3.6/site-packages/keras/engine/training.py", line 540, in _standardize_weights

return np.ones((y.shape[0],), dtype=K.floatx())
AttributeError: 'NoneType' object has no attribute 'shape'

2020-04-19 13:56:37,076 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):


 "/usr/lib64/python3.8/site-packages/friture/audiobackend.py", line 428, in fetchAudioData

input_time = self.get_stream_time()


 "/usr/lib64/python3.8/site-packages/friture/audiobackend.py", line 450, in get_stream_time

return self.stream.time
AttributeError: 'NoneType' object has no attribute 'time'
