How can I remove this error ?

1 Ansicht (letzte 30 Tage)
Badavath Purnesh Singh
Badavath Purnesh Singh am 17 Aug. 2021
Error using trainNetwork (line 184)
Conversion to single from uint8 is not possible.
Error in TLcode (line 27)
training= trainNetwork(trainingImages, layers, opt);
Caused by:
Error using cast
Conversion to single from uint8 is not possible.

Akzeptierte Antwort

Abhishek Kolla
Abhishek Kolla am 9 Nov. 2021
Could you please provide a detailed explanation along with the code you have tried so that we can replicate the issue?
  1 Kommentar
Badavath Purnesh Singh
Badavath Purnesh Singh am 10 Nov. 2021
The problem got resolved as I have restarted the matlab and ran the programme again. Thank you for asking.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by