Too Many I/Ps

10 views (last 30 days)
REN Jain
REN Jain on 21 Oct 2020
Commented: REN Jain on 24 Oct 2020
hello,
My code is -
net=googlenet;
analyzeNetwork(net)
this is returning an error saying
too many input arguments.
And the same error is displayed when I am creating my custom network and using
net=trainNetwork(datastore,layers,options);
Please Help.
Thank You
  22 Comments
Ameer Hamza
Ameer Hamza on 23 Oct 2020
Exactly as suspected!!! You have a file replace.m at
E:\REN\Matlab files\replace.m
which is shadowing the built-in replace function. Change the name of your file to something else.
REN Jain
REN Jain on 24 Oct 2020
Oooh Understood. I have created a function name replace, and there is a inbuilt replace fn that exsist and due to that they are overlapping or shadowing something.
Ya Its Working Now.
Million time THANKSsssssss.
Thank you, thank you , thank you sooo much......

Sign in to comment.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!