필터 지우기
필터 지우기

Error using dlquantizer - Deep Network Quantizer

조회 수: 6 (최근 30일)
Maxim Delacoe
Maxim Delacoe 2021년 2월 18일
답변: Maxim Delacoe 2021년 2월 22일
Hi,
I have trained a SqueezeNet neural network, using MATLAB Deep Network Designer and now I want to quantize the network for fixed-point applications.
I've tried following the 'Import a dlquantizer Object into the Deep Network Quantizer App' example found here: https://uk.mathworks.com/help/deeplearning/ref/deepnetworkquantizer-app.html
but I get the following error:
Error using dlquantizer
Unable to resolve the name dltargets.internal.validateNetwork.
Error in deepNetQuant (line 9)
quantObj = dlquantizer(net);
The code I'm running is as follows;
net = trainedNetwork_2
imds = trafficSignImds;
[calData, valData] = splitEachLabel(imds, 0.8, 'randomized')
aug_calData = augmentedImageDatastore([227 227], calData)
aug_valData = augmentedImageDatastore([227 227], valData)
quantObj = dlquantizer(net);
calResults = calibrate(quantObj, aug_calData);
deepNetworkQuantizer
Can someone please help access/use the quantizer?
I've installed both the deep learning toolbox and Deep Learning Toolbox Model Quantization Library.
Thanks!

채택된 답변

Maxim Delacoe
Maxim Delacoe 2021년 2월 22일
Found the solution, the following library and toolbox were required as well:
GPU Coder Interface for Deep Learning Libraries -
Parallel Computing Toolbox -
https://uk.mathworks.com/products/parallel-computing.html

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Quantization, Projection, and Pruning에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by