美文网首页
*** ValueError: Expected more th

*** ValueError: Expected more th

作者: 啊啊啊啊啊1231 | 来源:发表于2019-11-05 13:51 被阅读0次

在输入图片已知,在预定义的model中做inference得到输出时,在定义model=net_class()之后,需要将model=model.eval()置于eval状态下,才能进行输入图片的inference评估。

相关文章

网友评论

      本文标题:*** ValueError: Expected more th

      本文链接:https://www.haomeiwen.com/subject/hyisbctx.html