Paddle
Paddle copied to clipboard
保存模型时显示:var label not in this block
环境: paddlecloud, v100集群
想同时把input_fea和label都保存下来
显示这个错误:

在保存inference model的时候输出只有prediction,是与label无关的,此时会将该variable剪裁掉,如果需要的话可以将label也放在fetch list中