Sound-classification-on-Raspberry-Pi-with-Tensorflow
Sound-classification-on-Raspberry-Pi-with-Tensorflow copied to clipboard
UnboundLocalError: local variable 'features' referenced before assignment
At classiPi.py I can`t find features is assigned. how can i solve this problem?
you should initialize variable in extract_features function. like this.
features = np.empty((0,161)) # add this line
features = np.vstack([features,ext_features])