为什么在MATLAB中,Freezeweights Fucntion对我不起作用?

发布于 2025-01-26 15:03:18 字数 444 浏览 3 评论 0原文

我正在关注Googlenet上传输学习的数学工作教程,当涉及FreezeWeights函数时,它对我不起作用,我正在复制此处Word教程的函数执行。它也没有给我正确的错误消息,只需说

​我正在使用Mac和MATLAB版本R2021B。有什么想法为什么它不起作用?

编辑: 链接到教程,我正在关注 -

I am following the mathswork tutorial for transfer learning on the GoogLenet, and when it comes to the freezeWeights function, it just doesn't work for me, and I am copying the function execution of the tutorial word for word here. It doesn't give me a proper error message either, just says

enter image description here

I have no clue why it isn't working. Am using a mac and MatLab version R2021b. Any ideas why it won't work?

Edit:
Link to tutorial I am following -
MatlabTransferLearning

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柒夜笙歌凉 2025-02-02 15:03:18

要在计算机中使用此示例,您需要将某些脚本复制到当前的工作目录。这些脚本可以在您的MATLAB示例目录中找到。
脚本名称:

  • findlayerStlace.m
  • createlGraphusingConnections.m
  • freezeweights.m

路径,您可以在其中找到这些脚本(如果您安装了“为Googlenet网络的深度学习工具箱模型”)

文档\ matlab \ xpess \ xpess \ R2023A

For this example to work in your computer you need to copy some scripts to your current working directory. These scripts can be found in your MATLAB examples directory.
Script names:

  • findLayersToReplace.m
  • createLgraphUsingConnections.m
  • freezeWeights.m

Path where you find these scripts (if you installed "Deep Learning Toolbox Model for GoogLeNet Network")

Documents\MATLAB\Examples\R2023a\nnet\TransferLearningUsingGoogLeNetExample

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文