AIlib2/segutils/run_dy.sh

10 lines
456 B
Bash
Raw Normal View History

2025-04-26 10:35:59 +08:00
#动态尺寸的stdc转trt没有成功因为里有用到了全局池化池化的过程中kener_size不固定
gpu=2080Ti
name=crackMeasurement
nclass=2
mWidth=0
mHeight=0
python toTrt.py --weights /mnt/thsw2/DSP2/weights/${name}/stdc_360X640.pth --nclass ${nclass} --mWidth ${mWidth} --mHeight ${mHeight}
mv /mnt/thsw2/DSP2/weights/${name}/stdc_${mWidth}X${mHeight}.engine /mnt/thsw2/DSP2/weights/${name}/stdc_${mHeight}X${mWidth}_${gpu}_fp16.engine