I have this problem with my netbook:-
ValueError Traceback (most recent call last) <ipython-input-62-d841908e3321> in <module>() ----> 1 model.fit(X_train,y_train,epochs=20, validation_split=.1, callbacks=call_back) 3 frames /usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/data_adapter.py in _check_data_cardinality(data) 1527 label, ", ".join(str(i.shape[0]) for i in nest.flatten(single_data))) 1528 msg += "Make sure all arrays contain the same number of samples." -> 1529 raise ValueError(msg) 1530 1531 ValueError: Data cardinality is ambiguous: x sizes: 29068 y sizes: 3589 Make sure all arrays contain the same number of samples. this my netbook if u want to see data
please help me :)
https://stackoverflow.com/questions/66728038/basemodel-fit-in-tensorflow March 21, 2021 at 09:26AM
没有评论:
发表评论