How to quantize a Sequence classification network in Matlab using calibrate

1 次查看(过去 30 天)
I used this network as a basic for my own Sequence classification network:
I used dlquantizer to quantize my network
quantObj = dlquantizer(net)
Now i want to use calibrate
calResults = calibrate(quantObj,XValidation);
but it gives me the error "scalare structure required" If i use
calResults = calibrate(quantObj,TValidation);
it outputs me the error "Datastore must be either an imageDatastore, augmentedImageDatastore, TransformedDatastore, PixelLabelImageDatastore or CombinedDatastore."
How can I load the Calibrationdata?
TValidation and XValidation are 370x1 cell with Validation Data
  1 个评论
Dhananjay Kumar
Dhananjay Kumar 2023-7-17
Hi Kevin , calibrate API is enhanced in R2023b to support a lot more types of input data. You should be able to do that in R2023b.
https://www.mathworks.com/downloads/prerelease/

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Quantization, Projection, and Pruning 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by