- A ClassificationTree or CompactClassificationTree model object,
- table or double or single
Check for missing argument or incorrect argument data type in call to function 'predict'
1 次查看(过去 30 天)
显示 更早的评论
F1 = predict(dlnet,dlX1);
this function call triggers this error: Check for missing argument or incorrect argument data type in call to function 'predict'. These are the variables involved:
dlnet: [1×1 dlnetwork]
dlX1: 224(S) × 224(S) × 1(C) × 1(B) single gpuArray dlarray
Cannot understand what I'm doing wrong
0 个评论
回答(1 个)
Gaurav Garg
2020-6-9
Hi Alessandro
The data types of the 2 arguments for predict function should be -
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!