Skip to content
Discussion options

You must be logged in to vote

我这边导出pdmodel模型也成功了,具体命令如下:

export FLAGS_enable_pir_api=0
python3 tools/export_model.py -c configs/table/SLANet.yml -o \
Global.pretrained_model=SLANet_pretrained.pdparams \
Global.save_inference_dir="./SLANet_infer/" \
Global.export_with_pir=False

window 的话可能需要通过系统变量设置 FLAGS_enable_pir_api

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@LT-07
Comment options

@liuhongen1234567
Comment options

@liuhongen1234567
Comment options

@liuhongen1234567
Comment options

Answer selected by LT-07
@LT-07
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants