You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
244B

  1. gpu=2080Ti mWidth=448 mHeight=32
  2. pth=/mnt/thsw2/DSP2/weights/ocr_en/english_g2
  3. python pth2onnx.py --weights ${pth}.pth --mWidth ${mWidth} --mHeight ${mHeight}
  4. mv ${pth}_${mWidth}X${mHeight}.engine $pth_${gpu}_fp16_${mWidth}X${mHeight}.engine