I am trying to quantize my model for tflite with representative dataset with a section of my training dataset ( shape (7000,51,300,1) ). using the generator let’s say data_rep = np.array(data_prepped_train[0:100])
The trouble is I am having the below error.
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
can anyone give me an insight on the matter?
submitted by /u/tagiyevv
[visit reddit] [comments]