TypeError: ‘tuple‘ object is not callable

TypeError: ‘tuple’ object is not callable
label =label_total.reshape(label_total.shape(0))

方法:将shape(),改为shape[]

label =label_total.reshape(label_total.shape[0])

你可能感兴趣的:(Python3,python)