Deeplearning validationData in 2021b (deep learning toolbox)

1 回表示 (過去 30 日間)
Mads Holm
Mads Holm 2021 年 11 月 29 日
回答済み: yanqi liu 2021 年 12 月 2 日
Hi i just installed the 2021b version, and now i cant use the combinedDatastore class as validation data, it works just fine in version 2021a.
When i try to run my code in 2021b i get the following error:
Error using trainNetwork (line 184)
Conversion to single from cell is not possible.
Caused by:
Error using cast
Conversion to single from cell is not possible.
Does anyone know what i need to change in order to get my code to run in 2021b?
best regards

回答 (1 件)

yanqi liu
yanqi liu 2021 年 12 月 2 日
yes,sir,may be upload some code or data,or use
A = cellfun(@single,your data) such as
A = cellfun(@single,{1,2})
to avoid data type transfer

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by