forked from PulseFocusPlatform/PulseFocusPlatform
增加注释
This commit is contained in:
parent
e6485ffebb
commit
21a36f151a
1
main.py
1
main.py
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue