python--之TypeError: unsupported operand type(s) for /: 'Dimension' and 'int'

意思是求出来的是num_labes是Dimension对象,需要整数,直接将num_labels用int(num_labels)即可

至于原因,为什么是这样,暂时还不知道

猜你喜欢

转载自blog.csdn.net/zxyhhjs2017/article/details/82559927