Accident-Detection-Using-Deep-Learning
Accident-Detection-Using-Deep-Learning copied to clipboard
Code Missing
The following function seems incomplete in main.py file, can you please update the code.
def label_matrivalues):
n_values = np.mavalues) + 1 return np.eye(n_values)[values]
labels = np.concatenate(([1]*len(pos), [0]*len(neg[0:len(pos)]))) labels = label_matrilabels) #print(len(labels))