Closed aboelkassem closed 2 years ago
Added through 1b9e4965f62e00332a2387724c4698add3b99559
or you can use
# Converting the class vector in integers to binary class matrix
y_train = to_categorical(y_train)
y_test = to_categorical(y_test)
print(y_train.shape, y_test.shape)
for i in zip(y_train[0], arabic_characters):
print(i)
Endoded using PHOC label