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 ExchangeComputer 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!