Open junxnone opened 5 months ago
https://github.com/openvinotoolkit/anomalib/blob/3fe55842cf7bf1024ed43022d5859600052a4ed0/src/anomalib/models/components/base/export_mixin.py#L251
as the nncf api documents:
model_type
model_type=nncf.parameters.ModelType.TRANSFORMER
MVTec
Other (please specify in the field below)
WinCLIP
OS information:
model = nncf.quantize(model, calibration_dataset, model_type=nncf.parameters.ModelType.TRANSFORMER)
No response
pip
None
@alexsu52, any insights on this?
Describe the bug
https://github.com/openvinotoolkit/anomalib/blob/3fe55842cf7bf1024ed43022d5859600052a4ed0/src/anomalib/models/components/base/export_mixin.py#L251
as the nncf api documents:
model_type
should be set Transformer for WinCLIP :model_type=nncf.parameters.ModelType.TRANSFORMER
Dataset
MVTec
Model
Other (please specify in the field below)
Steps to reproduce the behavior
WinCLIP
OS information
OS information:
Expected behavior
model = nncf.quantize(model, calibration_dataset, model_type=nncf.parameters.ModelType.TRANSFORMER)
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
Logs
Code of Conduct