UserWarning: There are no operators in the program to be executed. If you pass P

77 阅读1分钟

一、分析问题

问题:

UserWarning: There are no operators in the program to be executed. If you pass Program manually, please use fluid.program_guard to ensure the current Program is being used.
warnings.warn(error_info)

翻译:

用户警告:程序中没有要执行的运算符。如果您手动通过程序,请使用fluid.Program\u guard确保正在使用当前程序。

警告。警告(错误信息)

原因:内存/显存不够

参考链接:blog.csdn.net/qq_38507234…