When I run test.py I get this error:
ValueError: Arguments target and output must have the same rank (ndim). Received: target.shape=(None,), output.shape=(None, 2)
The problem is erp_labels is passed into model.fit() but it needs to be the one-hot labels, ie train_erp_labels.
When I run test.py I get this error:
ValueError: Arguments
targetandoutputmust have the same rank (ndim). Received: target.shape=(None,), output.shape=(None, 2)The problem is erp_labels is passed into model.fit() but it needs to be the one-hot labels, ie train_erp_labels.