代码运行报错请求解答

运行代码时遇到如下问题
numpy boolean subtract, the - operator, is not supported, use the bitwise_xor, the ^ operator, or the logical_xor function instead.
查阅资料看到说把减号改掉,但是我的报错行也没有减号呀

img

是不是代码里面出现中划线了

应该是Y_train[ix]的结果里面包含了,检查下这个的结果

先查看tensorflow的版本,然后降numpy到对应版本