Error on official example "Classify Videos Using Deep Learning"

at line
averageImage = netCNN.Layers(1).Mean;
I get an error that there is no Mean property there. I think the correct is .AverageImage.
Is this correct?

답변 (2개)

Steven Lord
Steven Lord 2019년 11월 25일

0 개 추천

Which release are you using? The Release Notes for the most recent release (release R2019b as I type this) states that "AverageImage property of imageInputLayer and image3dInputLayer will be removed" and recommends using Mean instead.
dinos adamakos
dinos adamakos 2019년 12월 12일
편집: dinos adamakos 2019년 12월 12일

0 개 추천

I use 2019a . And the example is official matlab example at the page i have written above.
So i guess when writting examples , matlab should state those things for compatibility, which involves even so recent versions, let along past ones

카테고리

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

제품

질문:

2019년 11월 25일

편집:

2019년 12월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by