Borrar filtros
Borrar filtros

when run net=googlenet get error

2 visualizaciones (últimos 30 días)
Tan
Tan el 14 de Mayo de 2023
Comentada: Walter Roberson el 14 de Mayo de 2023
>> net = googlenet;
Execution of script googlenet as a function is not supported:
D:\recycle101\googlenet.m

Respuesta aceptada

Walter Roberson
Walter Roberson el 14 de Mayo de 2023
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 comentarios
Tan
Tan el 14 de Mayo de 2023
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 el 14 de Mayo de 2023
It works for me in R2023a.
I notice you are using R2020b. You might need to update to a later version.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by