Imported Net from Caffe Missing Classification Labels

When I import a pre-trained Caffee net with importCaffeNetwork including the .prototxt and .caffemodel files and look at the last layer to see the classification labels it outputs:
ClassificationOutputLayer with properties:
Name: 'ClassificationOutput'
Classes: [class1 class2 class3 class4 class5 class6 class7]
OutputSize: 7
Hyperparameters
LossFunction: 'crossentropyex'
I would assume that these labels are included in the files, so why are they missing here?

답변 (1개)

Shivam Sardana
Shivam Sardana 2019년 9월 24일

0 개 추천

There is a name-apir input 'Classes' argument which you can pass in importCaffeNetwork. You can refer to this documentation link for more detail:
Hope this help.

카테고리

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

제품

릴리스

R2019a

태그

질문:

2019년 9월 12일

답변:

2019년 9월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by