Too Many I/Ps
4 次查看(过去 30 天)
显示 更早的评论
REN Jain
2020-10-21
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 个评论
Ameer Hamza
2020-10-21
编辑:Ameer Hamza
2020-10-22
What about
which analyzeNetwork
can you paste complete error message? Which MATLAB release are you using?
Ameer Hamza
2020-10-21
It seems that the file uigridlayout.m has somehow got edited. Can you run the command
edit uigridlayout.m
and check if first two lines looks like this
function gridComponent = uigridlayout(varargin)
%UIGRIDLAYOUT Create a grid layout container
Ameer Hamza
2020-10-22
First run the following line in command window
dbstop if error
and then re-run code. When the error occurs, the MATLAB execution will halt inside a file, can you tell what is the name of that file?
REN Jain
2020-10-22
Its Working Now.
I uninstalled and re-installed the Deep Learning Tool Box.
Many Many Thanks for Your effort.
REN Jain
2020-10-22
My GOD!!!!!!
It worked once and I closed the application and launched it again and now I am getting the same error.
Ameer Hamza
2020-10-22
I suggest you reinstall MATLAB completely. Deletes the current files and then reinstall.
REN Jain
2020-10-22
I uninstalled and re installed the complete matlab and still getting the same error. :\
Walter Roberson
2020-10-22
dbstop if caught error
and run and you should be able to see the problem line. When it stops check
which -all uigridlayout
as you might not be getting the public version
Walter Roberson
2020-10-23
Okay, we are getting somewhere. Show
which -all replace
I suspect you will find that you have your own replace.m or a third-party toolbox that has replace.m
Ameer Hamza
2020-10-23
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
2020-10-24
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......
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)