How can I remove this error ?

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

1 voto

Could you please provide a detailed explanation along with the code you have tried so that we can replicate the issue?

1 Commento

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)

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by