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

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

Antworten (1)

yuri takahashi
yuri takahashi am 23 Jan. 2018

1 Stimme

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

Kategorien

Produkte

Tags

Gefragt:

am 23 Jan. 2018

Bearbeitet:

am 23 Jan. 2018

Community Treasure Hunt

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

Start Hunting!