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

3 views (last 30 days)
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.

Answers (1)

Vimal Rathod
Vimal Rathod on 15 Jun 2021
Hi,
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.

Categories

Find more on Text Analytics 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!