>> net = googlenet;
Execution of script googlenet as a function is not supported:
D:\recycle101\googlenet.m

 채택된 답변

Walter Roberson
Walter Roberson 2023년 5월 14일

0 개 추천

Folder D:\recycle101 is on your MATLAB path, and it contains a script D:\recycle101\googlenet.m -- a .m file that is not a function or classdef. However you are trying to invoke googlenet as a function, probably intending to access https://www.mathworks.com/help/deeplearning/ref/googlenet.html
You should rename D:\recycle101\googlenet.m to something else.

댓글 수: 2

Tan
Tan 2023년 5월 14일
and how about this?
lgraph = layerGraph(net);
Error using layerGraph
lgraph = layerGraph(net);
Invalid argument at position 1. Input must be an array of layers, a SeriesNetwork, a DAGNetwork, or a dlnetwork.
Walter Roberson
Walter Roberson 2023년 5월 14일
It works for me in R2023a.
I notice you are using R2020b. You might need to update to a later version.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

Tan
2023년 5월 14일

댓글:

2023년 5월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by