|
|
@ -12,9 +12,12 @@ config_path=$1
|
|
|
|
ckpt_path_prefix=$2
|
|
|
|
ckpt_path_prefix=$2
|
|
|
|
jit_model_export_path=$3
|
|
|
|
jit_model_export_path=$3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# export can not using StreamdataDataloader, set use_stream_dta False
|
|
|
|
python3 -u ${BIN_DIR}/export.py \
|
|
|
|
python3 -u ${BIN_DIR}/export.py \
|
|
|
|
--ngpu ${ngpu} \
|
|
|
|
--ngpu ${ngpu} \
|
|
|
|
--config ${config_path} \
|
|
|
|
--config ${config_path} \
|
|
|
|
|
|
|
|
--opts use_stream_data False \
|
|
|
|
--checkpoint_path ${ckpt_path_prefix} \
|
|
|
|
--checkpoint_path ${ckpt_path_prefix} \
|
|
|
|
--export_path ${jit_model_export_path}
|
|
|
|
--export_path ${jit_model_export_path}
|
|
|
|
|
|
|
|
|
|
|
|