trainNetwork()의 출력 유형은 반드시 범주()이어야합니다. 플로트/실제 출력으로 CNN을 만들려면 어떻게해야합니까?실제 출력으로 CNN을 만들 수 있습니까?
>> convnet = trainNetwork(input_datas, [0.0, 0.1, 0.2, 0.3], networkLayers, opts);
Error using trainNetwork>iAssertCategoricalResponseVector (line 269)
Y must be a vector of categorical responses.
는 (에러 메시지는 [0.0, 0.1, 0.2, 0.3]의 벡터에 대응),하지만 실제 출력하지 카테고리 필요
난 다음 명령은 다음과 같은 오류를 범 의미한다. 당신이 당신의 마지막 레이어를 변경해야이 작업을 수행하는
>> networkLayers=
5x1 Layer array with layers:
1 '' Image Input 1x6000x1 images with 'zerocenter' normalization
2 '' Convolution 10 1x100 convolutions with stride [1 1] and padding [0 0]
3 '' Max Pooling 1x20 max pooling with stride [10 10] and padding [0 0]
4 '' Fully Connected 200 fully connected layer
5 '' Fully Connected 1 fully connected layer