0
, 그것은 나에게 다음과 같은 오류를 제공합니다 :출력 레이어의 크기가 분류 자의 클래스 수와 일치하지 않습니까? 내 컴퓨터 비전 응용 프로그램을 실행하면
"The size of the output layer 'output1' in the neural network does not match the number of classes in the classifier."
내 CNN은 chars74K 데이터 세트에 대한 교육을하고 있으며, 26 개의 대문자에만 훈련을하고있다. 내 네트워크에는 26 개의 클래스가 있었고 네트워크의 출력 레이어는 softmax 기능이있는 26 개의 뉴런으로 구성되어 있다고 생각했습니다. 여기서 내가 뭘 잘못하고 있니? 당신이 coremltools를 사용하여 모델을 변환
2017-11-07 16:47:45.465734+0100 VisionApp[4472:347620] Error: The VNCoreMLTransform request failed
Error Domain=com.apple.vis Code=3 "The VNCoreMLTransform request failed" UserInfo={NSLocalizedDescription=The VNCoreMLTransform request failed, NSUnderlyingError=0x60000064fe40 {Error Domain=com.apple.CoreML Code=0 "The size of the output layer 'output1' in the neural network does not match the number of classes in the classifier." UserInfo={NSLocalizedDescription=The size of the output layer 'output1' in the neural network does not match the number of classes in the classifier.}}}