How to quantize a Sequence classification network in Matlab using calibrate
Show older comments
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 Comment
Dhananjay Kumar
on 17 Jul 2023
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/
Answers (0)
Categories
Find more on Quantization, Projection, and Pruning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!