How to quantize a Sequence classification network in Matlab using calibrate

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

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개)

카테고리

제품

릴리스

R2022b

질문:

2022년 12월 6일

댓글:

2023년 7월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by