Clear Filters
Clear Filters

How to quantize a Sequence classification network in Matlab using calibrate

1 view (last 30 days)
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
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/

Sign in to comment.

Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!