增加注释

This commit is contained in:
p73692015 2024-01-01 15:47:23 +08:00
parent e6485ffebb
commit 21a36f151a
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
print('cd {}'.format(self.path1)) print('cd {}'.format(self.path1))
print( print(
'python deploy/python/infer.py --model_dir={} --video_file={} --use_gpu=True'.format(self.model_path, self.Video_fname)) 'python deploy/python/infer.py --model_dir={} --video_file={} --use_gpu=True'.format(self.model_path, self.Video_fname))
# 调用GPU
os.system('cd {}'.format(self.path1)) os.system('cd {}'.format(self.path1))
os.system( os.system(
'python deploy/python/infer.py --model_dir={} --image_dir={} --output_dir=./video_output/{} --threshold=0.3 --use_gpu=True'.format( 'python deploy/python/infer.py --model_dir={} --image_dir={} --output_dir=./video_output/{} --threshold=0.3 --use_gpu=True'.format(