Cat and do recognition kaggle dataset and run out an error of imread

1 回表示 (過去 30 日間)
HSU TZU 2021 年 6 月 8 日
回答済み: Vimal Rathod 2021 年 6 月 15 日
Please help !!
when i run this in my matlab,it runs out these errors
Error using imread>get_format_info (line 545)
Unable to determine the file format.
Error in imread/call_format_specific_reader (line 466)
fmt_s = get_format_info(fullname);
Error in imread (line 440)
[X, map] = call_format_specific_reader();
Error in catanddog (line 12)
I = imread(s);
What does it mean?
Please help !
I'm a Taiwanese student my grammer is not really great,please forgive me for that.

回答 (1 件)

Vimal Rathod
Vimal Rathod 2021 年 6 月 15 日
Most probably when such errors occurs the problem is usually in the file it is trying to parse. Try putting a breakpoint at that point and see the name of the file and try to open the file using imread in commandline and also try opening the file normally, in most cases the file is corrupted or the file extension is not proper.
Here are the links to questions similar to yours, hope this helps.


Help Center および File ExchangeSignal Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by