categorical配列から文字を取得する

サンプルにある深層学習を使用したイメージ カテゴリの分類 https://jp.mathworks.com/help/vision/examples/image-category-classification-using-deep-learning.htmlにある「新たに学習した分類器のテスト イメージでの試用」の部分で分類した結果が"label"に格納されていると思うのですが、格納されている結果を変数に代入したいのですがどうすればよいでしょうか。サンプルで言うと分類結果"airplanes"を変数に入れたいです。

답변 (1개)

yuri takahashi
yuri takahashi 2018년 1월 23일

1 개 추천

charを使ってchar(label)と記載したら解決しました。

카테고리

도움말 센터File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

제품

태그

질문:

2018년 1월 23일

편집:

2018년 1월 23일

Community Treasure Hunt

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

Start Hunting!