How can I remove this error ?

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Abhishek Kolla
Abhishek Kolla il 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 Commento
Badavath Purnesh Singh
Badavath Purnesh Singh il 10 Nov 2021
The problem got resolved as I have restarted the matlab and ran the programme again. Thank you for asking.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by