Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
9条答案
按热度按时间rkkpypqq1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
gg58donl2#
hi,请提供下具体的模型和环境,以便于复现问题。
0s0u357o3#
好的,项目链接
cbeh67ev4#
推测与eval阶段没有使用no_grad有关,我找相关同学check下模型代码写法。
zlhcx6iw5#
好的,谢谢哥哥
j0pj023g6#
看了下,这个模型是你在AIstudio写的吗?
vnjpjtjt7#
是的
kxe2p93d8#
你可以试下将eval阶段的代码单独拿出来,然后在eval中除了设置model.eval()外,再加上no_grad():
vsaztqbk9#
好的,我试一下