虽然没太看懂在哪里加载的参数,但是我的问题已经解决了,还是谢谢您! https://aistudio.baidu.com/aistudio/projectdetail/1124272 我是通过上述项目给出的方法解决的问题otz 在 2020-10-19 14:56:54,"littletomatodonkey" notifications@github.com 写道: 以动态图代码加载静态图预训练模型为例,可以指定参数load_static_weights=True,脚本如下所示, https://github.com/PaddlePaddle/PaddleClas/blob/8e42f786da57bb1fcb243af4defb5b989334f4ba/tools/eval.sh#L5 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
3条答案
按热度按时间pwuypxnk1#
如果有一个具体的、简单的 demo 就更好了,请不要提供复杂的工程样例,作为一个新手,看起来会非常吃力otz
fafcakar2#
以动态图代码加载静态图预训练模型为例,可以指定参数
load_static_weights=True
,脚本如下所示,https://github.com/PaddlePaddle/PaddleClas/blob/8e42f786da57bb1fcb243af4defb5b989334f4ba/tools/eval.sh#L5
z9zf31ra3#
虽然没太看懂在哪里加载的参数,但是我的问题已经解决了,还是谢谢您! https://aistudio.baidu.com/aistudio/projectdetail/1124272 我是通过上述项目给出的方法解决的问题otz 在 2020-10-19 14:56:54,"littletomatodonkey" notifications@github.com 写道: 以动态图代码加载静态图预训练模型为例,可以指定参数load_static_weights=True,脚本如下所示, https://github.com/PaddlePaddle/PaddleClas/blob/8e42f786da57bb1fcb243af4defb5b989334f4ba/tools/eval.sh#L5 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.