我正在学习一个关于神经网络1的教程
它在Python2.7中。我用的是3.4。这是让我困扰的一句话:
if test_data: n_test = len(test_data)
我明白了:TypeError: object of type 'zip' has no len()。
TypeError: object of type 'zip' has no len()
有没有办法重写它,让它在3.4中工作?
https://stackoverflow.com/questions/31011631
相似问题