deep learning datastore import problem

1 回表示 (過去 30 日間)
Sunusi Abdullahi
Sunusi Abdullahi 2020 年 3 月 25 日
コメント済み: Sunusi Abdullahi 2020 年 3 月 29 日
I get these error message while training my Resnet network, can someone help please
Error using matlab.io.datastore.ImageDatastore/readimage (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)
imshow(readimage(dataset,'sugar'));

回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 3 月 25 日
Hi,
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!
  1 件のコメント
Sunusi Abdullahi
Sunusi Abdullahi 2020 年 3 月 29 日
Oh very great! Thank you

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDeep Learning for Image Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by