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

1 Stimme

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)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by