mirror of
https://github.com/PaddlePaddle/PaddleClas.git
synced 2025-06-03 21:55:06 +08:00
fix export quant_model
This commit is contained in:
parent
99b3c96252
commit
998f335b40
@ -373,7 +373,7 @@ class Engine(object):
|
|||||||
"inference")
|
"inference")
|
||||||
if self.quanter:
|
if self.quanter:
|
||||||
self.quanter.save_quantized_model(
|
self.quanter.save_quantized_model(
|
||||||
model,
|
model.base_model,
|
||||||
save_path,
|
save_path,
|
||||||
input_spec=[
|
input_spec=[
|
||||||
paddle.static.InputSpec(
|
paddle.static.InputSpec(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user