Accident-Detection-Using-Deep-Learning icon indicating copy to clipboard operation
Accident-Detection-Using-Deep-Learning copied to clipboard

Code Missing

Open tehreemq opened this issue 3 years ago • 0 comments

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))

tehreemq avatar Jun 27 '22 09:06 tehreemq