forked from PulseFocusPlatform/PulseFocusPlatform
“更新”
This commit is contained in:
parent
02b9d629d7
commit
2f38f935ac
|
@ -1,7 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="f51902ab-b95b-4237-ad16-046cdff5b8fb" name="Changes" comment="" />
|
||||
<list default="true" id="f51902ab-b95b-4237-ad16-046cdff5b8fb" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
|
|
4
main.py
4
main.py
|
@ -38,18 +38,16 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||
|
||||
self.stopEvent = threading.Event()
|
||||
self.stopEvent.clear()
|
||||
|
||||
|
||||
|
||||
def exit(self):
|
||||
self.close()
|
||||
|
||||
def press_shibie(self):
|
||||
try:
|
||||
if self.model_name == 'PPYOLO-BOT':
|
||||
self.model_path = './inference_model/ppyolov2_r50vd_dcn_voc'
|
||||
elif self.model_name == 'RCNN':
|
||||
self.model_path = '.\\inference_model\\faster_rcnn'
|
||||
#elif self.model_name == 'YOLOV3':
|
||||
#self.model_path = '.\\inference_model\\yolov3'
|
||||
except:
|
||||
self.model_path = './inference_model/ppyolov2_r50vd_dcn_voc'
|
||||
|
|
Loading…
Reference in New Issue