请问在预测的过程中如何取出模型的预测值
Created by: hanjindong
我的程序是这样写的: loss_val, predict = exe.run(test_program, feed=feeder.feed(data_test), fetch_list=[loss, predict]) 但是报错如下: "Wrong type for fetch_list[%s]: %s" % (i, type(var))) AssertionError: Wrong type for fetch_list[1]: <type 'numpy.ndarray'> 希望能给予解答,谢谢