模型训练之前和验证之前会有报警告,报的警告日志如下,请问报警高的原因是什么呢?有什么好的建议吗?
【操作步骤&问题现象】
[WARNING] SESSION(81481,python):2021-01-28-00:12:03.997.805 [mindspore/ccsrc/backend/session/ascend_session.cc:941] SelectKernel] There are 277 node/nodes used raise precision to selected the kernel!
[WARNING] DEVICE(81481,python):2021-01-28-00:12:23.529.389 [mindspore/ccsrc/runtime/device/kernel_runtime.cc:332] AssignStaticMemoryInput] It is not suggested to use a lonely weight parameter as the output of graph
[WARNING] DEVICE(81481,python):2021-01-28-00:12:23.529.479 [mindspore/ccsrc/runtime/device/kernel_runtime.cc:332] AssignStaticMemoryInput] It is not suggested to use a lonely weight parameter as the output of graph
该日志只是为了方便提示用户,您可以不用关注。
当前出现的这种warning日志打印可能输如下原因:用户在构建网络结构的时候,return出来的参数包含parameter。
请检查一下网络结构是否存在这种情况。