Deep learning syntax error

1 view (last 30 days)
Sunusi Abdullahi
Sunusi Abdullahi on 24 Mar 2020
Commented: Sunusi Abdullahi on 28 Mar 2020
Please can someone help me to fix this error, I am trying to train deep network for classification but I ended up having this error each time the program is running, below is the snapshot of the code and error message as well

Answers (1)

Sai Bhargav Avula
Sai Bhargav Avula on 25 Mar 2020
You cannot perform array operations on imageDatastore objects. In the above case histeq(test_data(:,:,[3 2 1])) and others. One possible workaround is read images and then perform the operation
Hope this helps!
  1 Comment
Sunusi Abdullahi
Sunusi Abdullahi on 28 Mar 2020
Thank you for your information, but still while trying to read the images, I also ended up with different error message which is "pixelLabel has RGB-Triplet while the network is expecting input with pixelLabel scalar IDs".
the full error message is attached above

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!