fix slim export model error
This commit is contained in:
parent
917118ae8e
commit
c93aba2d34
|
@ -101,7 +101,7 @@ def main():
|
||||||
quanter = QAT(config=quant_config)
|
quanter = QAT(config=quant_config)
|
||||||
quanter.quantize(model)
|
quanter.quantize(model)
|
||||||
|
|
||||||
init_model(config, model, logger)
|
init_model(config, model)
|
||||||
model.eval()
|
model.eval()
|
||||||
|
|
||||||
# build metric
|
# build metric
|
||||||
|
|
|
@ -17,7 +17,7 @@ distill_train:null
|
||||||
eval:tools/eval.py -c configs/det/det_mv3_db.yml -o
|
eval:tools/eval.py -c configs/det/det_mv3_db.yml -o
|
||||||
|
|
||||||
Global.save_inference_dir:./output/
|
Global.save_inference_dir:./output/
|
||||||
Global.checkpoints:
|
Global.pretrained_model:
|
||||||
norm_export:tools/export_model.py -c configs/det/det_mv3_db.yml -o
|
norm_export:tools/export_model.py -c configs/det/det_mv3_db.yml -o
|
||||||
quant_export:deploy/slim/quantization/export_model.py -c configs/det/det_mv3_db.yml -o
|
quant_export:deploy/slim/quantization/export_model.py -c configs/det/det_mv3_db.yml -o
|
||||||
fpgm_export:deploy/slim/prune/export_prune_model.py
|
fpgm_export:deploy/slim/prune/export_prune_model.py
|
||||||
|
|
Loading…
Reference in New Issue