deep learning datastore import problem

1 view (last 30 days)
Sunusi Abdullahi
Sunusi Abdullahi on 25 Mar 2020
Commented: Sunusi Abdullahi on 29 Mar 2020
I get these error message while training my Resnet network, can someone help please
Error using (line 32)
Expected input number 2, INDEX, to be one of these types:
double, single, uint8, uint16, uint32, uint64, int8, int16, int32, int64
Error in train (line 36)

Answers (1)

Sai Bhargav Avula
Sai Bhargav Avula on 25 Mar 2020
The input argument to the readimage function is image file index. Where as in your function it is 'sugar'.
Refer the following link of readimage function for detailed understanding
Hope this helps!

Community Treasure Hunt

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

Start Hunting!