why exportONNXNetwork will add additional "Sub" in onnx, how to remove this layer in onnx?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, i did the following:
>> baseNetwork = resnet50;
>> exportONNXNetwork(baseNetwork,'resnet50-matlab');
but when compare same model in Deep Network Designer and Netron (onnx reader), i found there is additional "Sub" in generated onnx
then i download the official resnet50 from onnx github, there are no "Sub"
this Sub will cause some issue in my enviroment, how to remove it? also is it a bug or why this Sub exist? thanks
Regards,
Owen
답변 (1개)
Don Mathis
2019년 9월 9일
The Sub operator is subtracting the mean image from the raw image input.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!