How to quantize a Sequence classification network in Matlab using calibrate
2 次查看(过去 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
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!